test

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2018 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthSomestruct = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSomestruct   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTestrequest = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTestrequest   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	ErrInvalidLengthTestresponse = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTestresponse   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type SomeStruct

type SomeStruct struct {
	A                    int32    `protobuf:"varint,1,opt,name=A,proto3" json:"A,omitempty"`
	B                    string   `protobuf:"bytes,2,opt,name=B,proto3" json:"B,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `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) Marshal

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

func (*SomeStruct) MarshalTo

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

func (*SomeStruct) ProtoMessage

func (*SomeStruct) ProtoMessage()

func (*SomeStruct) Reset

func (m *SomeStruct) Reset()

func (*SomeStruct) Size

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

func (*SomeStruct) String

func (m *SomeStruct) String() string

func (*SomeStruct) Unmarshal

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

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,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*TestRequest) Descriptor

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

func (*TestRequest) GetMsg

func (m *TestRequest) GetMsg() string

func (*TestRequest) Marshal

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

func (*TestRequest) MarshalTo

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

func (*TestRequest) ProtoMessage

func (*TestRequest) ProtoMessage()

func (*TestRequest) Reset

func (m *TestRequest) Reset()

func (*TestRequest) Size

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

func (*TestRequest) String

func (m *TestRequest) String() string

func (*TestRequest) Unmarshal

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

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,proto3" json:"code,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `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) Marshal

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

func (*TestResponse) MarshalTo

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

func (*TestResponse) ProtoMessage

func (*TestResponse) ProtoMessage()

func (*TestResponse) Reset

func (m *TestResponse) Reset()

func (*TestResponse) Size

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

func (*TestResponse) String

func (m *TestResponse) String() string

func (*TestResponse) Unmarshal

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

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