Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
type ServiceContext struct { // configuration Config config.Config // middleware Public rest.Middleware Authentication rest.Middleware Authorization rest.Middleware Language rest.Middleware RemoteAddr rest.Middleware // rpc OrganizationRPC orgClient.Organization CategoryRPC ctgClient.Category BrandRPC brdClient.Brand ProductionRPC proClient.Product }
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.