protos

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthArg = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowArg   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthResponse = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowResponse   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Arg

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

func (*Arg) Descriptor

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

func (*Arg) GetMsg

func (m *Arg) GetMsg() string

func (*Arg) Marshal

func (m *Arg) Marshal() (dAtA []byte, err error)

func (*Arg) MarshalTo

func (m *Arg) MarshalTo(dAtA []byte) (int, error)

func (*Arg) ProtoMessage

func (*Arg) ProtoMessage()

func (*Arg) Reset

func (m *Arg) Reset()

func (*Arg) Size

func (m *Arg) Size() (n int)

func (*Arg) String

func (m *Arg) String() string

func (*Arg) Unmarshal

func (m *Arg) Unmarshal(dAtA []byte) error

func (*Arg) XXX_DiscardUnknown

func (m *Arg) XXX_DiscardUnknown()

func (*Arg) XXX_Marshal

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

func (*Arg) XXX_Merge

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

func (*Arg) XXX_Size

func (m *Arg) XXX_Size() int

func (*Arg) XXX_Unmarshal

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

type Response

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

func (*Response) Descriptor

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

func (*Response) GetCode

func (m *Response) GetCode() int32

func (*Response) GetMsg

func (m *Response) GetMsg() string

func (*Response) Marshal

func (m *Response) Marshal() (dAtA []byte, err error)

func (*Response) MarshalTo

func (m *Response) MarshalTo(dAtA []byte) (int, error)

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) Size

func (m *Response) Size() (n int)

func (*Response) String

func (m *Response) String() string

func (*Response) Unmarshal

func (m *Response) Unmarshal(dAtA []byte) error

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

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

func (*Response) XXX_Merge

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

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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