Documentation ¶
Index ¶
- Variables
- type Stream
- type StreamMessage
- func (*StreamMessage) Descriptor() ([]byte, []int)deprecated
- func (x *StreamMessage) GetData() []byte
- func (x *StreamMessage) GetId() string
- func (x *StreamMessage) GetName() string
- func (*StreamMessage) ProtoMessage()
- func (x *StreamMessage) ProtoReflect() protoreflect.Message
- func (x *StreamMessage) Reset()
- func (x *StreamMessage) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_stream_message_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
func (*Stream) Subscribe ¶
func (s *Stream) Subscribe(topicName string, handler am.RawMessageHandler, options ...am.SubscriberOption) (am.Subscription, error)
func (*Stream) Unsubscribe ¶
type StreamMessage ¶
type StreamMessage struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*StreamMessage) Descriptor
deprecated
func (*StreamMessage) Descriptor() ([]byte, []int)
Deprecated: Use StreamMessage.ProtoReflect.Descriptor instead.
func (*StreamMessage) GetData ¶
func (x *StreamMessage) GetData() []byte
func (*StreamMessage) GetId ¶
func (x *StreamMessage) GetId() string
func (*StreamMessage) GetName ¶
func (x *StreamMessage) GetName() string
func (*StreamMessage) ProtoMessage ¶
func (*StreamMessage) ProtoMessage()
func (*StreamMessage) ProtoReflect ¶
func (x *StreamMessage) ProtoReflect() protoreflect.Message
func (*StreamMessage) Reset ¶
func (x *StreamMessage) Reset()
func (*StreamMessage) String ¶
func (x *StreamMessage) String() string
Click to show internal directories.
Click to hide internal directories.