Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceContext ¶
type ServiceContext struct {
Config rpcconfig.Config
SinglePushProducer *xkafka.Producer
GroupPushProducer *xkafka.Producer
KickConnProducer *xkafka.Producer
// contains filtered or unexported fields
}
func NewServiceContext ¶
func NewServiceContext(c rpcconfig.Config) *ServiceContext
func (*ServiceContext) ImUserRpc ¶
func (c *ServiceContext) ImUserRpc() imuserservice.ImUserService
func (*ServiceContext) MsgPushRpc ¶
func (c *ServiceContext) MsgPushRpc() msgpushservice.MsgPushService
Click to show internal directories.
Click to hide internal directories.