Documentation ¶
Index ¶
Constants ¶
View Source
const ( RoleUser = "user" RoleAdmin = "admin" )
View Source
const (
//UMServices is key for services
UMServices = "um-service"
)
Variables ¶
This section is empty.
Functions ¶
func RegisterServices ¶
func RegisterServices(svc *server.UserManager) gin.HandlerFunc
RegisterServices adds services to context
func RequireUserExist ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.