protos

package
v0.15.2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2019 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Doc added in v0.7.6

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

func (*Doc) Descriptor added in v0.7.6

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

func (*Doc) GetDoc added in v0.7.6

func (m *Doc) GetDoc() string

func (*Doc) ProtoMessage added in v0.7.6

func (*Doc) ProtoMessage()

func (*Doc) Reset added in v0.7.6

func (m *Doc) Reset()

func (*Doc) String added in v0.7.6

func (m *Doc) String() string

func (*Doc) XXX_DiscardUnknown added in v0.7.6

func (m *Doc) XXX_DiscardUnknown()

func (*Doc) XXX_Marshal added in v0.7.6

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

func (*Doc) XXX_Merge added in v0.7.6

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

func (*Doc) XXX_Size added in v0.7.6

func (m *Doc) XXX_Size() int

func (*Doc) XXX_Unmarshal added in v0.7.6

func (m *Doc) 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 added in v0.7.6

func (m *RPCMsg) XXX_DiscardUnknown()

func (*RPCMsg) XXX_Marshal added in v0.7.6

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

func (*RPCMsg) XXX_Merge added in v0.7.6

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

func (*RPCMsg) XXX_Size added in v0.7.6

func (m *RPCMsg) XXX_Size() int

func (*RPCMsg) XXX_Unmarshal added in v0.7.6

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 added in v0.7.6

func (m *RPCRes) XXX_DiscardUnknown()

func (*RPCRes) XXX_Marshal added in v0.7.6

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

func (*RPCRes) XXX_Merge added in v0.7.6

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

func (*RPCRes) XXX_Size added in v0.7.6

func (m *RPCRes) XXX_Size() int

func (*RPCRes) XXX_Unmarshal added in v0.7.6

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

Jump to

Keyboard shortcuts

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