Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetMatchClientFunc ¶
type GetMatchClientFunc func(cc grpc.ClientConnInterface) matchpb.MatchServiceClient
type GetOrderClientFunc ¶
type GetOrderClientFunc func(cc grpc.ClientConnInterface) orderpb.OrderServiceClient
type ServiceContext ¶
type ServiceContext struct {
Config config.Config
OrderClients *pool.RpcClients
MatchClients *pool.RpcClients
GetOrderClient GetOrderClientFunc
GetMatchClient GetMatchClientFunc
Auth rest.Middleware
AccountRpcClient accountservice.AccountService
Symbols *sync.Map
}
func NewServiceContext ¶
func NewServiceContext(c config.Config) *ServiceContext
Click to show internal directories.
Click to hide internal directories.