mirror of
https://2025-dev.shylinux.com/x/20250211-service
synced 2025-04-25 04:38:06 +08:00
opt some
This commit is contained in:
parent
076fac1389
commit
4640171153
@ -43,10 +43,7 @@ func (s Gateway) Script(m *ice.Message, arg ...string) {
|
|||||||
func (s Gateway) List(m *ice.Message, arg ...string) {
|
func (s Gateway) List(m *ice.Message, arg ...string) {
|
||||||
if len(arg) == 0 {
|
if len(arg) == 0 {
|
||||||
info := web.Info
|
info := web.Info
|
||||||
stat := map[string]int{}
|
kit.For(task.Info(), func(key string, value string) { m.Push(key, value) })
|
||||||
m.Cmd(web.DREAM).Table(func(value ice.Maps) { stat[value[mdb.TYPE]]++ })
|
|
||||||
m.PushRecord(stat)
|
|
||||||
m.PushRecord(task.Info())
|
|
||||||
m.Push("main", info.ServeMainCount)
|
m.Push("main", info.ServeMainCount)
|
||||||
m.Push("get", info.ServeGetCount)
|
m.Push("get", info.ServeGetCount)
|
||||||
m.Push("put", info.ServePutCount)
|
m.Push("put", info.ServePutCount)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user