Documentation ¶
Overview ¶
Package go_benchmark is a generated protocol buffer package.
It is generated from these files:
Pb.proto
It has these top-level messages:
PbTestObject With2Fields
Index ¶
- type CBAvatar
- type CBGithub
- type CBGravatar
- type CBName
- type CBPerson
- type DSTopic
- type DSTopicsList
- type DSUser
- type LargePayload
- type MediumPayload
- type PbTestObject
- func (*PbTestObject) Descriptor() ([]byte, []int)
- func (m *PbTestObject) GetField1() string
- func (m *PbTestObject) GetField10() string
- func (m *PbTestObject) GetField2() string
- func (m *PbTestObject) GetField3() string
- func (m *PbTestObject) GetField4() string
- func (m *PbTestObject) GetField5() string
- func (m *PbTestObject) GetField6() string
- func (m *PbTestObject) GetField7() string
- func (m *PbTestObject) GetField8() string
- func (m *PbTestObject) GetField9() string
- func (*PbTestObject) ProtoMessage()
- func (m *PbTestObject) Reset()
- func (m *PbTestObject) String() string
- type SmallPayload
- type With2Fields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CBAvatar ¶
type CBAvatar struct {
Url string `json:"url"`
}
func (CBAvatar) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CBAvatar) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CBGithub ¶
type CBGithub struct {
Followers int `json:"followers"`
}
func (CBGithub) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CBGithub) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CBGravatar ¶
type CBGravatar struct {
Avatars []*CBAvatar `json:"avatars"`
}
func (CBGravatar) MarshalEasyJSON ¶
func (v CBGravatar) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CBGravatar) UnmarshalEasyJSON ¶
func (v *CBGravatar) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CBName ¶
type CBName struct {
FullName string `json:"fullName"`
}
func (CBName) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CBName) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type CBPerson ¶
type CBPerson struct { Name *CBName `json:"name"` Github *CBGithub `json:"github"` Gravatar *CBGravatar `json:"gravatar"` }
func (CBPerson) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*CBPerson) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type DSTopic ¶
func (DSTopic) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*DSTopic) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type DSTopicsList ¶
type DSTopicsList struct { Topics []struct{} `json:"topics"` MoreTopicsUrl string `json:"-"` }
type DSUser ¶
type DSUser struct {
Username string
}
func (DSUser) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (*DSUser) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type LargePayload ¶
type LargePayload struct { Users []*DSUser `json:"-"` Topics *DSTopicsList `json:"topics"` }
type MediumPayload ¶
func (MediumPayload) MarshalEasyJSON ¶
func (v MediumPayload) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*MediumPayload) UnmarshalEasyJSON ¶
func (v *MediumPayload) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type PbTestObject ¶
type PbTestObject struct { Field1 string `protobuf:"bytes,1,opt,name=field1" json:"field1,omitempty"` Field2 string `protobuf:"bytes,2,opt,name=field2" json:"field2,omitempty"` Field3 string `protobuf:"bytes,3,opt,name=field3" json:"field3,omitempty"` Field4 string `protobuf:"bytes,4,opt,name=field4" json:"field4,omitempty"` Field5 string `protobuf:"bytes,5,opt,name=field5" json:"field5,omitempty"` Field6 string `protobuf:"bytes,6,opt,name=field6" json:"field6,omitempty"` Field7 string `protobuf:"bytes,7,opt,name=field7" json:"field7,omitempty"` Field8 string `protobuf:"bytes,8,opt,name=field8" json:"field8,omitempty"` Field9 string `protobuf:"bytes,9,opt,name=field9" json:"field9,omitempty"` Field10 string `protobuf:"bytes,10,opt,name=field10" json:"field10,omitempty"` }
func (*PbTestObject) Descriptor ¶
func (*PbTestObject) Descriptor() ([]byte, []int)
func (*PbTestObject) GetField1 ¶
func (m *PbTestObject) GetField1() string
func (*PbTestObject) GetField10 ¶
func (m *PbTestObject) GetField10() string
func (*PbTestObject) GetField2 ¶
func (m *PbTestObject) GetField2() string
func (*PbTestObject) GetField3 ¶
func (m *PbTestObject) GetField3() string
func (*PbTestObject) GetField4 ¶
func (m *PbTestObject) GetField4() string
func (*PbTestObject) GetField5 ¶
func (m *PbTestObject) GetField5() string
func (*PbTestObject) GetField6 ¶
func (m *PbTestObject) GetField6() string
func (*PbTestObject) GetField7 ¶
func (m *PbTestObject) GetField7() string
func (*PbTestObject) GetField8 ¶
func (m *PbTestObject) GetField8() string
func (*PbTestObject) GetField9 ¶
func (m *PbTestObject) GetField9() string
func (*PbTestObject) ProtoMessage ¶
func (*PbTestObject) ProtoMessage()
func (*PbTestObject) Reset ¶
func (m *PbTestObject) Reset()
func (*PbTestObject) String ¶
func (m *PbTestObject) String() string
type SmallPayload ¶
type SmallPayload struct { St int `json:"st"` Sid int `json:"-"` Tt string `json:"-"` Gr int `json:"-"` Uuid string `json:"uuid"` Ip string `json:"-"` Ua string `json:"ua"` Tz int `json:"tz"` V int `json:"-"` }
func (SmallPayload) MarshalEasyJSON ¶
func (v SmallPayload) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (*SmallPayload) UnmarshalEasyJSON ¶
func (v *SmallPayload) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
type With2Fields ¶
type With2Fields struct { Field1 string `protobuf:"bytes,1,opt,name=field1" json:"field1,omitempty"` Field2 string `protobuf:"bytes,2,opt,name=field2" json:"field2,omitempty"` }
func (*With2Fields) Descriptor ¶
func (*With2Fields) Descriptor() ([]byte, []int)
func (*With2Fields) GetField1 ¶
func (m *With2Fields) GetField1() string
func (*With2Fields) GetField2 ¶
func (m *With2Fields) GetField2() string
func (*With2Fields) ProtoMessage ¶
func (*With2Fields) ProtoMessage()
func (*With2Fields) Reset ¶
func (m *With2Fields) Reset()
func (*With2Fields) String ¶
func (m *With2Fields) String() string
Directories ¶
Path | Synopsis |
---|---|
Package Pb is a generated protocol buffer package.
|
Package Pb is a generated protocol buffer package. |