1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-25 17:18:05 +08:00
icebergs/misc/chrome/sync.go
2023-06-28 21:55:01 +08:00

26 lines
532 B
Go

package chrome
import (
"shylinux.com/x/ice"
"shylinux.com/x/icebergs/base/mdb"
)
type sync struct {
field string `data:"time,id,type,name,link"`
insert string `name:"insert type name link" http:"sync"`
list string `name:"list id auto" help:"同步流"`
}
func (s sync) Inputs(m *ice.Message, arg ...string) {
switch arg[0] {
case mdb.ZONE:
m.Cmdy(arg)
default:
}
}
func (s sync) Insert(m *ice.Message, arg ...string) {
}
func (s sync) List(m *ice.Message, arg ...string) {
}
func init() { ice.CodeCtxCmd(sync{}) }