Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
type ServiceContext struct { Config config.Config Authority rest.Middleware CoreRpc coreclient.Core Redis *redis.Redis Casbin *casbin.Enforcer Trans *i18n.Translator }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.