Documentation
¶
Index ¶
- Constants
- func GetEnv(ctx kratosx.Context) (bool, []uint32, error)
- func GetPermission(ctx kratosx.Context, keyword string) (bool, []uint32, error)
- func GetServer(ctx kratosx.Context) (bool, []uint32, error)
- func HasEnv(ctx kratosx.Context, id uint32) bool
- func HasServer(ctx kratosx.Context, id uint32) bool
- func NewClient(ctx kratosx.Context) (resourcev1.ResourceClient, error)
Constants ¶
View Source
const ( Manager = "Manager" Env = "cfg_env" Server = "cfg_server" )
Variables ¶
This section is empty.
Functions ¶
func GetPermission ¶
func NewClient ¶
func NewClient(ctx kratosx.Context) (resourcev1.ResourceClient, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.