protos

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TestRequest

type TestRequest 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:"-"`
}

TestRequest message to be sent using rpc

func (*TestRequest) Descriptor

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

func (*TestRequest) GetMsg

func (m *TestRequest) GetMsg() string

func (*TestRequest) ProtoMessage

func (*TestRequest) ProtoMessage()

func (*TestRequest) Reset

func (m *TestRequest) Reset()

func (*TestRequest) String

func (m *TestRequest) String() string

func (*TestRequest) XXX_DiscardUnknown added in v0.11.0

func (m *TestRequest) XXX_DiscardUnknown()

func (*TestRequest) XXX_Marshal added in v0.11.0

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

func (*TestRequest) XXX_Merge added in v0.11.0

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

func (*TestRequest) XXX_Size added in v0.11.0

func (m *TestRequest) XXX_Size() int

func (*TestRequest) XXX_Unmarshal added in v0.11.0

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

type TestResponse

type TestResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

TestResponse is the rpc response

func (*TestResponse) Descriptor

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

func (*TestResponse) GetCode

func (m *TestResponse) GetCode() int32

func (*TestResponse) GetMsg

func (m *TestResponse) GetMsg() string

func (*TestResponse) ProtoMessage

func (*TestResponse) ProtoMessage()

func (*TestResponse) Reset

func (m *TestResponse) Reset()

func (*TestResponse) String

func (m *TestResponse) String() string

func (*TestResponse) XXX_DiscardUnknown added in v0.11.0

func (m *TestResponse) XXX_DiscardUnknown()

func (*TestResponse) XXX_Marshal added in v0.11.0

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

func (*TestResponse) XXX_Merge added in v0.11.0

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

func (*TestResponse) XXX_Size added in v0.11.0

func (m *TestResponse) XXX_Size() int

func (*TestResponse) XXX_Unmarshal added in v0.11.0

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

Jump to

Keyboard shortcuts

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