protos

package
v0.0.0-...-0d2f101 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2018 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImportedMessage

type ImportedMessage struct {
	ImportedMessage      string        `protobuf:"bytes,1,opt,name=ImportedMessage,proto3" json:"ImportedMessage,omitempty"`
	Num                  *ThirdMessage `protobuf:"bytes,2,opt,name=num,proto3" json:"num,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ImportedMessage) Descriptor

func (*ImportedMessage) Descriptor() ([]byte, []int)

func (*ImportedMessage) GetImportedMessage

func (m *ImportedMessage) GetImportedMessage() string

func (*ImportedMessage) GetNum

func (m *ImportedMessage) GetNum() *ThirdMessage

func (*ImportedMessage) ProtoMessage

func (*ImportedMessage) ProtoMessage()

func (*ImportedMessage) Reset

func (m *ImportedMessage) Reset()

func (*ImportedMessage) String

func (m *ImportedMessage) String() string

func (*ImportedMessage) XXX_DiscardUnknown

func (m *ImportedMessage) XXX_DiscardUnknown()

func (*ImportedMessage) XXX_Marshal

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

func (*ImportedMessage) XXX_Merge

func (dst *ImportedMessage) XXX_Merge(src proto.Message)

func (*ImportedMessage) XXX_Size

func (m *ImportedMessage) XXX_Size() int

func (*ImportedMessage) XXX_Unmarshal

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

type LastMessage

type LastMessage struct {
	Last                 string    `protobuf:"bytes,1,opt,name=last,proto3" json:"last,omitempty"`
	Final                *MessageE `protobuf:"bytes,2,opt,name=final,proto3" json:"final,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*LastMessage) Descriptor

func (*LastMessage) Descriptor() ([]byte, []int)

func (*LastMessage) GetFinal

func (m *LastMessage) GetFinal() *MessageE

func (*LastMessage) GetLast

func (m *LastMessage) GetLast() string

func (*LastMessage) ProtoMessage

func (*LastMessage) ProtoMessage()

func (*LastMessage) Reset

func (m *LastMessage) Reset()

func (*LastMessage) String

func (m *LastMessage) String() string

func (*LastMessage) XXX_DiscardUnknown

func (m *LastMessage) XXX_DiscardUnknown()

func (*LastMessage) XXX_Marshal

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

func (*LastMessage) XXX_Merge

func (dst *LastMessage) XXX_Merge(src proto.Message)

func (*LastMessage) XXX_Size

func (m *LastMessage) XXX_Size() int

func (*LastMessage) XXX_Unmarshal

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

type MessageE

type MessageE struct {
	ENumber              int32    `protobuf:"varint,1,opt,name=eNumber,proto3" json:"eNumber,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*MessageE) Descriptor

func (*MessageE) Descriptor() ([]byte, []int)

func (*MessageE) GetENumber

func (m *MessageE) GetENumber() int32

func (*MessageE) ProtoMessage

func (*MessageE) ProtoMessage()

func (*MessageE) Reset

func (m *MessageE) Reset()

func (*MessageE) String

func (m *MessageE) String() string

func (*MessageE) XXX_DiscardUnknown

func (m *MessageE) XXX_DiscardUnknown()

func (*MessageE) XXX_Marshal

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

func (*MessageE) XXX_Merge

func (dst *MessageE) XXX_Merge(src proto.Message)

func (*MessageE) XXX_Size

func (m *MessageE) XXX_Size() int

func (*MessageE) XXX_Unmarshal

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

type RPCMsg

type RPCMsg struct {
	Msg                  string   `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RPCMsg message to be sent using rpc

func (*RPCMsg) Descriptor

func (*RPCMsg) Descriptor() ([]byte, []int)

func (*RPCMsg) GetMsg

func (m *RPCMsg) GetMsg() string

func (*RPCMsg) ProtoMessage

func (*RPCMsg) ProtoMessage()

func (*RPCMsg) Reset

func (m *RPCMsg) Reset()

func (*RPCMsg) String

func (m *RPCMsg) String() string

func (*RPCMsg) XXX_DiscardUnknown

func (m *RPCMsg) XXX_DiscardUnknown()

func (*RPCMsg) XXX_Marshal

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

func (*RPCMsg) XXX_Merge

func (dst *RPCMsg) XXX_Merge(src proto.Message)

func (*RPCMsg) XXX_Size

func (m *RPCMsg) XXX_Size() int

func (*RPCMsg) XXX_Unmarshal

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

type RPCRes

type RPCRes struct {
	Msg                  string   `protobuf:"bytes,1,opt,name=Msg,proto3" json:"Msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

RPCRes is the rpc response

func (*RPCRes) Descriptor

func (*RPCRes) Descriptor() ([]byte, []int)

func (*RPCRes) GetMsg

func (m *RPCRes) GetMsg() string

func (*RPCRes) ProtoMessage

func (*RPCRes) ProtoMessage()

func (*RPCRes) Reset

func (m *RPCRes) Reset()

func (*RPCRes) String

func (m *RPCRes) String() string

func (*RPCRes) XXX_DiscardUnknown

func (m *RPCRes) XXX_DiscardUnknown()

func (*RPCRes) XXX_Marshal

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

func (*RPCRes) XXX_Merge

func (dst *RPCRes) XXX_Merge(src proto.Message)

func (*RPCRes) XXX_Size

func (m *RPCRes) XXX_Size() int

func (*RPCRes) XXX_Unmarshal

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

type TestMessage

type TestMessage struct {
	Payload              *ImportedMessage `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*TestMessage) Descriptor

func (*TestMessage) Descriptor() ([]byte, []int)

func (*TestMessage) GetPayload

func (m *TestMessage) GetPayload() *ImportedMessage

func (*TestMessage) ProtoMessage

func (*TestMessage) ProtoMessage()

func (*TestMessage) Reset

func (m *TestMessage) Reset()

func (*TestMessage) String

func (m *TestMessage) String() string

func (*TestMessage) XXX_DiscardUnknown

func (m *TestMessage) XXX_DiscardUnknown()

func (*TestMessage) XXX_Marshal

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

func (*TestMessage) XXX_Merge

func (dst *TestMessage) XXX_Merge(src proto.Message)

func (*TestMessage) XXX_Size

func (m *TestMessage) XXX_Size() int

func (*TestMessage) XXX_Unmarshal

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

type ThirdMessage

type ThirdMessage struct {
	Imported             *LastMessage `protobuf:"bytes,1,opt,name=imported,proto3" json:"imported,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*ThirdMessage) Descriptor

func (*ThirdMessage) Descriptor() ([]byte, []int)

func (*ThirdMessage) GetImported

func (m *ThirdMessage) GetImported() *LastMessage

func (*ThirdMessage) ProtoMessage

func (*ThirdMessage) ProtoMessage()

func (*ThirdMessage) Reset

func (m *ThirdMessage) Reset()

func (*ThirdMessage) String

func (m *ThirdMessage) String() string

func (*ThirdMessage) XXX_DiscardUnknown

func (m *ThirdMessage) XXX_DiscardUnknown()

func (*ThirdMessage) XXX_Marshal

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

func (*ThirdMessage) XXX_Merge

func (dst *ThirdMessage) XXX_Merge(src proto.Message)

func (*ThirdMessage) XXX_Size

func (m *ThirdMessage) XXX_Size() int

func (*ThirdMessage) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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