Documentation ¶
Index ¶
- Variables
- type MyEnum
- type MyMessage
- func (*MyMessage) Descriptor() ([]byte, []int)
- func (m *MyMessage) GetBar() string
- func (m *MyMessage) GetFoo() int32
- func (*MyMessage) ProtoMessage()
- func (m *MyMessage) Reset()
- func (m *MyMessage) String() string
- func (m *MyMessage) XXX_DiscardUnknown()
- func (m *MyMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MyMessage) XXX_Merge(src proto.Message)
- func (m *MyMessage) XXX_Size() int
- func (m *MyMessage) XXX_Unmarshal(b []byte) error
- type RequestType
- func (*RequestType) Descriptor() ([]byte, []int)
- func (*RequestType) ProtoMessage()
- func (m *RequestType) Reset()
- func (m *RequestType) String() string
- func (m *RequestType) XXX_DiscardUnknown()
- func (m *RequestType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestType) XXX_Merge(src proto.Message)
- func (m *RequestType) XXX_Size() int
- func (m *RequestType) XXX_Unmarshal(b []byte) error
- type ResponseType
- func (*ResponseType) Descriptor() ([]byte, []int)
- func (*ResponseType) ProtoMessage()
- func (m *ResponseType) Reset()
- func (m *ResponseType) String() string
- func (m *ResponseType) XXX_DiscardUnknown()
- func (m *ResponseType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseType) XXX_Merge(src proto.Message)
- func (m *ResponseType) XXX_Size() int
- func (m *ResponseType) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var E_MyEnumOption = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumOptions)(nil), ExtensionType: (*bool)(nil), Field: 50003, Name: "my_enum_option", Tag: "varint,50003,opt,name=my_enum_option", Filename: "options.proto", }
View Source
var E_MyEnumValueOption = &proto.ExtensionDesc{ ExtendedType: (*descriptor.EnumValueOptions)(nil), ExtensionType: (*uint32)(nil), Field: 50004, Name: "my_enum_value_option", Tag: "varint,50004,opt,name=my_enum_value_option", Filename: "options.proto", }
View Source
var E_MyFieldOption = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FieldOptions)(nil), ExtensionType: (*float32)(nil), Field: 50002, Name: "my_field_option", Tag: "fixed32,50002,opt,name=my_field_option", Filename: "options.proto", }
View Source
var E_MyFileOption = &proto.ExtensionDesc{ ExtendedType: (*descriptor.FileOptions)(nil), ExtensionType: (*string)(nil), Field: 50000, Name: "my_file_option", Tag: "bytes,50000,opt,name=my_file_option", Filename: "options.proto", }
View Source
var E_MyMessageOption = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*int32)(nil), Field: 50001, Name: "my_message_option", Tag: "varint,50001,opt,name=my_message_option", Filename: "options.proto", }
View Source
var E_MyMethodOption = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MethodOptions)(nil), ExtensionType: (*MyMessage)(nil), Field: 50006, Name: "my_method_option", Tag: "bytes,50006,opt,name=my_method_option", Filename: "options.proto", }
View Source
var E_MyServiceOption = &proto.ExtensionDesc{ ExtendedType: (*descriptor.ServiceOptions)(nil), ExtensionType: (*MyEnum)(nil), Field: 50005, Name: "my_service_option", Tag: "varint,50005,opt,name=my_service_option,enum=MyEnum", Filename: "options.proto", }
View Source
var MyEnum_name = map[int32]string{
1: "FOO",
2: "BAR",
}
View Source
var MyEnum_value = map[string]int32{
"FOO": 1,
"BAR": 2,
}
Functions ¶
This section is empty.
Types ¶
type MyMessage ¶
type MyMessage struct { Foo *int32 `protobuf:"varint,1,opt,name=foo" json:"foo,omitempty"` Bar *string `protobuf:"bytes,2,opt,name=bar" json:"bar,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*MyMessage) Descriptor ¶
func (*MyMessage) ProtoMessage ¶
func (*MyMessage) ProtoMessage()
func (*MyMessage) XXX_DiscardUnknown ¶
func (m *MyMessage) XXX_DiscardUnknown()
func (*MyMessage) XXX_Marshal ¶
func (*MyMessage) XXX_Unmarshal ¶
type RequestType ¶
type RequestType struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestType) Descriptor ¶
func (*RequestType) Descriptor() ([]byte, []int)
func (*RequestType) ProtoMessage ¶
func (*RequestType) ProtoMessage()
func (*RequestType) Reset ¶
func (m *RequestType) Reset()
func (*RequestType) String ¶
func (m *RequestType) String() string
func (*RequestType) XXX_DiscardUnknown ¶
func (m *RequestType) XXX_DiscardUnknown()
func (*RequestType) XXX_Marshal ¶
func (m *RequestType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestType) XXX_Merge ¶
func (m *RequestType) XXX_Merge(src proto.Message)
func (*RequestType) XXX_Size ¶
func (m *RequestType) XXX_Size() int
func (*RequestType) XXX_Unmarshal ¶
func (m *RequestType) XXX_Unmarshal(b []byte) error
type ResponseType ¶
type ResponseType struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResponseType) Descriptor ¶
func (*ResponseType) Descriptor() ([]byte, []int)
func (*ResponseType) ProtoMessage ¶
func (*ResponseType) ProtoMessage()
func (*ResponseType) Reset ¶
func (m *ResponseType) Reset()
func (*ResponseType) String ¶
func (m *ResponseType) String() string
func (*ResponseType) XXX_DiscardUnknown ¶
func (m *ResponseType) XXX_DiscardUnknown()
func (*ResponseType) XXX_Marshal ¶
func (m *ResponseType) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseType) XXX_Merge ¶
func (m *ResponseType) XXX_Merge(src proto.Message)
func (*ResponseType) XXX_Size ¶
func (m *ResponseType) XXX_Size() int
func (*ResponseType) XXX_Unmarshal ¶
func (m *ResponseType) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.