msg

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2020 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Ack) GetAck

func (m *Ack) GetAck() bool

func (*Ack) ProtoMessage

func (*Ack) ProtoMessage()

func (*Ack) Reset

func (m *Ack) Reset()

func (*Ack) String

func (m *Ack) String() string

func (*Ack) XXX_DiscardUnknown

func (m *Ack) XXX_DiscardUnknown()

func (*Ack) XXX_Marshal

func (m *Ack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Ack) XXX_Merge

func (m *Ack) XXX_Merge(src proto.Message)

func (*Ack) XXX_Size

func (m *Ack) XXX_Size() int

func (*Ack) XXX_Unmarshal

func (m *Ack) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*AuthReq) GetCredential

func (m *AuthReq) GetCredential() []byte

func (*AuthReq) ProtoMessage

func (*AuthReq) ProtoMessage()

func (*AuthReq) Reset

func (m *AuthReq) Reset()

func (*AuthReq) String

func (m *AuthReq) String() string

func (*AuthReq) XXX_DiscardUnknown

func (m *AuthReq) XXX_DiscardUnknown()

func (*AuthReq) XXX_Marshal

func (m *AuthReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuthReq) XXX_Merge

func (m *AuthReq) XXX_Merge(src proto.Message)

func (*AuthReq) XXX_Size

func (m *AuthReq) XXX_Size() int

func (*AuthReq) XXX_Unmarshal

func (m *AuthReq) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Message) GetContent

func (m *Message) GetContent() []byte

func (*Message) GetTopic

func (m *Message) GetTopic() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) Reset

func (m *Message) Reset()

func (*Message) String

func (m *Message) String() string

func (*Message) XXX_DiscardUnknown

func (m *Message) XXX_DiscardUnknown()

func (*Message) XXX_Marshal

func (m *Message) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Message) XXX_Merge

func (m *Message) XXX_Merge(src proto.Message)

func (*Message) XXX_Size

func (m *Message) XXX_Size() int

func (*Message) XXX_Unmarshal

func (m *Message) XXX_Unmarshal(b []byte) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址