Documentation
¶
Index ¶
- Variables
- type AccessService
- func (s *AccessService) Dispatch(ctx context.Context, userId string, data []byte)
- func (s *AccessService) PushMessage(ctx context.Context, req *v1.PushMessageRequest) (*v1.PushMessageResponse, error)
- func (s *AccessService) RegisterDispatch() biz.DispatchFunc
- func (s *AccessService) ServeHTTP(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewAccessService)
ProviderSet is service providers.
Functions ¶
This section is empty.
Types ¶
type AccessService ¶
type AccessService struct {
v1.UnimplementedAccessServiceServer
// contains filtered or unexported fields
}
func NewAccessService ¶
func NewAccessService( logger log.Logger, manager *biz.Manager, svrInstance *conf.ServerInstance, dispatchMsg *biz.Message, ) *AccessService
func (*AccessService) Dispatch ¶
func (s *AccessService) Dispatch(ctx context.Context, userId string, data []byte)
func (*AccessService) PushMessage ¶
func (s *AccessService) PushMessage(ctx context.Context, req *v1.PushMessageRequest) (*v1.PushMessageResponse, error)
func (*AccessService) RegisterDispatch ¶
func (s *AccessService) RegisterDispatch() biz.DispatchFunc
func (*AccessService) ServeHTTP ¶
func (s *AccessService) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.