Documentation ¶
Overview ¶
Package vanity is a generated protocol buffer package. It is generated from these files: gogovanity.proto It has these top-level messages: B
Package vanity is a generated protocol buffer package.
It is generated from these files:
proto3.proto
It has these top-level messages:
Aproto3 Package vanity is a generated protocol buffer package. It is generated from these files: vanity.proto It has these top-level messages: A
Index ¶
- Constants
- Variables
- type A
- type Aproto3
- type B
- func (m *B) GetInt32() int32
- func (m *B) GetInt64() int64
- func (m *B) GetString_() string
- func (m *B) Marshal() (data []byte, err error)
- func (m *B) MarshalTo(data []byte) (int, error)
- func (*B) ProtoMessage()
- func (m *B) Reset()
- func (m *B) Size() (n int)
- func (m *B) String() string
- func (m *B) Unmarshal(data []byte) error
Constants ¶
View Source
const Default_B_Int32 int32 = 1234
Variables ¶
View Source
var ( ErrInvalidLengthGogovanity = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGogovanity = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthProto3 = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProto3 = fmt.Errorf("proto: integer overflow") )
View Source
var ( ErrInvalidLengthVanity = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowVanity = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type A ¶
type A struct { Strings string `protobuf:"bytes,1,opt,name=Strings" json:"Strings"` Int int64 `protobuf:"varint,2,req,name=Int" json:"Int"` }
func (*A) GetStrings ¶
func (*A) ProtoMessage ¶
func (*A) ProtoMessage()
type Aproto3 ¶
type Aproto3 struct {
B string `protobuf:"bytes,1,opt,name=B,proto3" json:"B,omitempty"`
}
func (*Aproto3) ProtoMessage ¶
func (*Aproto3) ProtoMessage()
type B ¶
type B struct { String_ *string `protobuf:"bytes,1,opt,name=String" json:"String,omitempty"` Int64 int64 `protobuf:"varint,2,opt,name=Int64" json:"Int64"` Int32 *int32 `protobuf:"varint,3,opt,name=Int32,def=1234" json:"Int32,omitempty"` }
func (*B) GetString_ ¶
func (*B) ProtoMessage ¶
func (*B) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.