Documentation ¶
Index ¶
- Variables
- type SomeStruct
- func (*SomeStruct) Descriptor() ([]byte, []int)
- func (m *SomeStruct) GetA() int32
- func (m *SomeStruct) GetB() string
- func (m *SomeStruct) Marshal() (dAtA []byte, err error)
- func (m *SomeStruct) MarshalTo(dAtA []byte) (int, error)
- func (*SomeStruct) ProtoMessage()
- func (m *SomeStruct) Reset()
- func (m *SomeStruct) Size() (n int)
- func (m *SomeStruct) String() string
- func (m *SomeStruct) Unmarshal(dAtA []byte) error
- func (m *SomeStruct) XXX_DiscardUnknown()
- func (m *SomeStruct) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SomeStruct) XXX_Merge(src proto.Message)
- func (m *SomeStruct) XXX_Size() int
- func (m *SomeStruct) XXX_Unmarshal(b []byte) error
- type TestRequest
- func (*TestRequest) Descriptor() ([]byte, []int)
- func (m *TestRequest) GetMsg() string
- func (m *TestRequest) Marshal() (dAtA []byte, err error)
- func (m *TestRequest) MarshalTo(dAtA []byte) (int, error)
- func (*TestRequest) ProtoMessage()
- func (m *TestRequest) Reset()
- func (m *TestRequest) Size() (n int)
- func (m *TestRequest) String() string
- func (m *TestRequest) Unmarshal(dAtA []byte) error
- func (m *TestRequest) XXX_DiscardUnknown()
- func (m *TestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TestRequest) XXX_Merge(src proto.Message)
- func (m *TestRequest) XXX_Size() int
- func (m *TestRequest) XXX_Unmarshal(b []byte) error
- type TestResponse
- func (*TestResponse) Descriptor() ([]byte, []int)
- func (m *TestResponse) GetCode() int32
- func (m *TestResponse) GetMsg() string
- func (m *TestResponse) Marshal() (dAtA []byte, err error)
- func (m *TestResponse) MarshalTo(dAtA []byte) (int, error)
- func (*TestResponse) ProtoMessage()
- func (m *TestResponse) Reset()
- func (m *TestResponse) Size() (n int)
- func (m *TestResponse) String() string
- func (m *TestResponse) Unmarshal(dAtA []byte) error
- func (m *TestResponse) XXX_DiscardUnknown()
- func (m *TestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TestResponse) XXX_Merge(src proto.Message)
- func (m *TestResponse) XXX_Size() int
- func (m *TestResponse) XXX_Unmarshal(b []byte) error
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"` }
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) 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"`
}
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) 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"` }
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) 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
Click to show internal directories.
Click to hide internal directories.