Documentation ¶
Index ¶
- func NewService(events *events.Exchange) api.EventsServer
- type Service
- func (s *Service) Forward(ctx context.Context, r *api.ForwardRequest) (*empty.Empty, error)
- func (s *Service) Publish(ctx context.Context, r *api.PublishRequest) (*empty.Empty, error)
- func (s *Service) Register(server *grpc.Server) error
- func (s *Service) Subscribe(req *api.SubscribeRequest, srv api.Events_SubscribeServer) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewService ¶
func NewService(events *events.Exchange) api.EventsServer
Types ¶
Click to show internal directories.
Click to hide internal directories.