txim/common/api.go

15 lines
424 B
Go
Raw Normal View History

2022-01-11 10:14:11 +08:00
package common
type Api struct {
ServiceName string // 服务名称
Command string // 接口名称
}
var (
AccountImport Api = Api{"im_open_login_svc", "account_import"}
AccountCheck Api = Api{"im_open_login_svc", "account_check"}
AccountDelete Api = Api{"im_open_login_svc", "account_delete"}
GroupCreate Api = Api{"group_open_http_svc", "create_group"}
ProfileSet Api = Api{"profile", "portrait_set"}
)