test

package
v2.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 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 SomeStruct

type SomeStruct struct {
	A                    int32    `protobuf:"varint,1,opt,name=A" json:"A,omitempty"`
	B                    string   `protobuf:"bytes,2,opt,name=B" json:"B,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SomeStruct) Descriptor

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

func (*SomeStruct) GetA

func (m *SomeStruct) GetA() int32

func (*SomeStruct) GetB

func (m *SomeStruct) GetB() string

func (*SomeStruct) ProtoMessage

func (*SomeStruct) ProtoMessage()

func (*SomeStruct) Reset

func (m *SomeStruct) Reset()

func (*SomeStruct) String

func (m *SomeStruct) String() string

func (*SomeStruct) XXX_DiscardUnknown

func (m *SomeStruct) XXX_DiscardUnknown()

func (*SomeStruct) XXX_Marshal

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

func (*SomeStruct) XXX_Merge

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

func (*SomeStruct) XXX_Size

func (m *SomeStruct) XXX_Size() int

func (*SomeStruct) XXX_Unmarshal

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

type TestRequest

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

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

func (m *TestRequest) XXX_DiscardUnknown()

func (*TestRequest) XXX_Marshal

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

func (*TestRequest) XXX_Merge

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

func (*TestRequest) XXX_Size

func (m *TestRequest) XXX_Size() int

func (*TestRequest) XXX_Unmarshal

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

type TestResponse

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

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

func (m *TestResponse) XXX_DiscardUnknown()

func (*TestResponse) XXX_Marshal

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

func (*TestResponse) XXX_Merge

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

func (*TestResponse) XXX_Size

func (m *TestResponse) XXX_Size() int

func (*TestResponse) XXX_Unmarshal

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