Documentation ¶
Index ¶
- type Stream
- func (s *Stream) CreateChannel(ctx context.Context, req *pb.CreateChannelRequest, ...) error
- func (s *Stream) ListChannels(ctx context.Context, req *pb.ListChannelsRequest, rsp *pb.ListChannelsResponse) error
- func (s *Stream) ListMessages(ctx context.Context, req *pb.ListMessagesRequest, rsp *pb.ListMessagesResponse) error
- func (s *Stream) SendMessage(ctx context.Context, req *pb.SendMessageRequest, rsp *pb.SendMessageResponse) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stream ¶
type Stream struct{}
func (*Stream) CreateChannel ¶ added in v0.22.0
func (s *Stream) CreateChannel(ctx context.Context, req *pb.CreateChannelRequest, rsp *pb.CreateChannelResponse) error
func (*Stream) ListChannels ¶ added in v0.22.0
func (s *Stream) ListChannels(ctx context.Context, req *pb.ListChannelsRequest, rsp *pb.ListChannelsResponse) error
func (*Stream) ListMessages ¶ added in v0.22.0
func (s *Stream) ListMessages(ctx context.Context, req *pb.ListMessagesRequest, rsp *pb.ListMessagesResponse) error
func (*Stream) SendMessage ¶ added in v0.22.0
func (s *Stream) SendMessage(ctx context.Context, req *pb.SendMessageRequest, rsp *pb.SendMessageResponse) error
Click to show internal directories.
Click to hide internal directories.