Documentation ¶
Overview ¶
Package types is a generated protocol buffer package.
It is generated from these files:
types/types.proto
It has these top-level messages:
UUIDValue JSONValue UUID InetValue
Index ¶
- Constants
- type Inet
- type InetValue
- func (*InetValue) Descriptor() ([]byte, []int)
- func (m *InetValue) GetValue() string
- func (m *InetValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*InetValue) ProtoMessage()
- func (m *InetValue) Reset()
- func (m *InetValue) String() string
- func (m *InetValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- type JSONValue
- func (*JSONValue) Descriptor() ([]byte, []int)
- func (m *JSONValue) GetValue() string
- func (m *JSONValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*JSONValue) ProtoMessage()
- func (m *JSONValue) Reset()
- func (m *JSONValue) String() string
- func (m *JSONValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- type UUID
- type UUIDValue
- func (*UUIDValue) Descriptor() ([]byte, []int)
- func (m *UUIDValue) GetValue() string
- func (m *UUIDValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*UUIDValue) ProtoMessage()
- func (m *UUIDValue) Reset()
- func (m *UUIDValue) String() string
- func (m *UUIDValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
Constants ¶
const ZeroUUID = "00000000-0000-0000-0000-000000000000"
ZeroUUID The Zero value used for non-nil, but uninitialized UUID type
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inet ¶ added in v0.6.0
Inet is a special scannable type for an IP/Netmask
func ParseInet ¶ added in v0.6.0
ParseInet will return the Inet address/netmask represented in the input string
type InetValue ¶ added in v0.6.0
type InetValue struct {
Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}
func (*InetValue) Descriptor ¶ added in v0.6.0
func (*InetValue) MarshalJSONPB ¶ added in v0.6.0
MarshalJSONPB overloads InetValue's standard PB -> JSON conversion
func (*InetValue) ProtoMessage ¶ added in v0.6.0
func (*InetValue) ProtoMessage()
func (*InetValue) UnmarshalJSONPB ¶ added in v0.6.0
func (m *InetValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
UnmarshalJSONPB overloads InetValue's standard JSON -> PB conversion. If data is null, can't create nil object, but will marshal as null later
type JSONValue ¶ added in v0.5.0
type JSONValue struct {
Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}
func (*JSONValue) Descriptor ¶ added in v0.5.0
func (*JSONValue) MarshalJSONPB ¶ added in v0.5.0
MarshalJSONPB overloads JSONValue's standard PB -> JSON conversion
func (*JSONValue) ProtoMessage ¶ added in v0.5.0
func (*JSONValue) ProtoMessage()
func (*JSONValue) UnmarshalJSONPB ¶ added in v0.5.0
func (m *JSONValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
UnmarshalJSONPB overloads JSONValue's standard JSON -> PB conversion. If data is null, can't create nil object, but will marshal as null later
type UUID ¶ added in v0.5.1
type UUID struct {
Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}
func (*UUID) Descriptor ¶ added in v0.5.1
func (*UUID) MarshalJSONPB ¶ added in v0.5.1
MarshalJSONPB overloads UUID's standard PB -> JSON conversion
func (*UUID) ProtoMessage ¶ added in v0.5.1
func (*UUID) ProtoMessage()
func (*UUID) UnmarshalJSONPB ¶ added in v0.5.1
func (m *UUID) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
UnmarshalJSONPB overloads UUID's standard JSON -> PB conversion. If data is null, can't create nil object, but will marshal as null later
type UUIDValue ¶
type UUIDValue struct {
Value string `protobuf:"bytes,1,opt,name=value" json:"value,omitempty"`
}
func (*UUIDValue) Descriptor ¶
func (*UUIDValue) MarshalJSONPB ¶ added in v0.5.0
MarshalJSONPB overloads UUIDValue's standard PB -> JSON conversion
func (*UUIDValue) ProtoMessage ¶
func (*UUIDValue) ProtoMessage()
func (*UUIDValue) UnmarshalJSONPB ¶ added in v0.5.0
func (m *UUIDValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
UnmarshalJSONPB overloads UUIDValue's standard JSON -> PB conversion. If data is null, can't create nil object, but will marshal as null later