Documentation
¶
Index ¶
- type Ack
- func (*Ack) Descriptor() ([]byte, []int)
- func (m *Ack) GetAck() bool
- func (*Ack) ProtoMessage()
- func (m *Ack) Reset()
- func (m *Ack) String() string
- func (m *Ack) XXX_DiscardUnknown()
- func (m *Ack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ack) XXX_Merge(src proto.Message)
- func (m *Ack) XXX_Size() int
- func (m *Ack) XXX_Unmarshal(b []byte) error
- type AuthReq
- func (*AuthReq) Descriptor() ([]byte, []int)
- func (m *AuthReq) GetCredential() []byte
- func (*AuthReq) ProtoMessage()
- func (m *AuthReq) Reset()
- func (m *AuthReq) String() string
- func (m *AuthReq) XXX_DiscardUnknown()
- func (m *AuthReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthReq) XXX_Merge(src proto.Message)
- func (m *AuthReq) XXX_Size() int
- func (m *AuthReq) XXX_Unmarshal(b []byte) error
- type Message
- func (*Message) Descriptor() ([]byte, []int)
- func (m *Message) GetContent() []byte
- func (m *Message) GetTopic() string
- func (*Message) ProtoMessage()
- func (m *Message) Reset()
- func (m *Message) String() string
- func (m *Message) XXX_DiscardUnknown()
- func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Message) XXX_Merge(src proto.Message)
- func (m *Message) XXX_Size() int
- func (m *Message) XXX_Unmarshal(b []byte) error
- type SubscribeReq
- func (*SubscribeReq) Descriptor() ([]byte, []int)
- func (m *SubscribeReq) GetTopics() []string
- func (*SubscribeReq) ProtoMessage()
- func (m *SubscribeReq) Reset()
- func (m *SubscribeReq) String() string
- func (m *SubscribeReq) XXX_DiscardUnknown()
- func (m *SubscribeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscribeReq) XXX_Merge(src proto.Message)
- func (m *SubscribeReq) XXX_Size() int
- func (m *SubscribeReq) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ack ¶
type Ack struct {
Ack bool `protobuf:"varint,1,opt,name=ack,proto3" json:"ack,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
ack of auth request
func (*Ack) Descriptor ¶
func (*Ack) ProtoMessage ¶
func (*Ack) ProtoMessage()
func (*Ack) XXX_DiscardUnknown ¶
func (m *Ack) XXX_DiscardUnknown()
func (*Ack) XXX_Unmarshal ¶
type AuthReq ¶
type AuthReq struct {
Credential []byte `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
Auth request
func (*AuthReq) Descriptor ¶
func (*AuthReq) GetCredential ¶
func (*AuthReq) ProtoMessage ¶
func (*AuthReq) ProtoMessage()
func (*AuthReq) XXX_DiscardUnknown ¶
func (m *AuthReq) XXX_DiscardUnknown()
func (*AuthReq) XXX_Marshal ¶
func (*AuthReq) XXX_Unmarshal ¶
type Message ¶
type Message struct {
Topic string `protobuf:"bytes,1,opt,name=topic,proto3" json:"topic,omitempty"`
Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
normal message
func (*Message) Descriptor ¶
func (*Message) GetContent ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) XXX_DiscardUnknown ¶
func (m *Message) XXX_DiscardUnknown()
func (*Message) XXX_Marshal ¶
func (*Message) XXX_Unmarshal ¶
type SubscribeReq ¶
type SubscribeReq struct {
Topics []string `protobuf:"bytes,1,rep,name=topics,proto3" json:"topics,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
subscribe request
func (*SubscribeReq) Descriptor ¶
func (*SubscribeReq) Descriptor() ([]byte, []int)
func (*SubscribeReq) GetTopics ¶
func (m *SubscribeReq) GetTopics() []string
func (*SubscribeReq) ProtoMessage ¶
func (*SubscribeReq) ProtoMessage()
func (*SubscribeReq) Reset ¶
func (m *SubscribeReq) Reset()
func (*SubscribeReq) String ¶
func (m *SubscribeReq) String() string
func (*SubscribeReq) XXX_DiscardUnknown ¶
func (m *SubscribeReq) XXX_DiscardUnknown()
func (*SubscribeReq) XXX_Marshal ¶
func (m *SubscribeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscribeReq) XXX_Merge ¶
func (m *SubscribeReq) XXX_Merge(src proto.Message)
func (*SubscribeReq) XXX_Size ¶
func (m *SubscribeReq) XXX_Size() int
func (*SubscribeReq) XXX_Unmarshal ¶
func (m *SubscribeReq) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.