Documentation ¶
Index ¶
- Constants
- Variables
- func ParseTime(value uint32) (string, error)
- type BigInt
- func (*BigInt) Descriptor() ([]byte, []int)deprecated
- func (x *BigInt) GetValue() string
- func (m *BigInt) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*BigInt) ProtoMessage()
- func (x *BigInt) ProtoReflect() protoreflect.Message
- func (x *BigInt) Reset()
- func (x *BigInt) String() string
- func (m *BigInt) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- type Inet
- type InetValue
- func (*InetValue) Descriptor() ([]byte, []int)deprecated
- func (x *InetValue) GetValue() string
- func (m *InetValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*InetValue) ProtoMessage()
- func (x *InetValue) ProtoReflect() protoreflect.Message
- func (x *InetValue) Reset()
- func (x *InetValue) String() string
- func (m *InetValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- type JSONValue
- func (*JSONValue) Descriptor() ([]byte, []int)deprecated
- func (x *JSONValue) GetValue() string
- func (m *JSONValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*JSONValue) ProtoMessage()
- func (x *JSONValue) ProtoReflect() protoreflect.Message
- func (x *JSONValue) Reset()
- func (x *JSONValue) String() string
- func (m *JSONValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- type TimeOnly
- func (*TimeOnly) Descriptor() ([]byte, []int)deprecated
- func (x *TimeOnly) GetValue() uint32
- func (t *TimeOnly) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*TimeOnly) ProtoMessage()
- func (x *TimeOnly) ProtoReflect() protoreflect.Message
- func (x *TimeOnly) Reset()
- func (x *TimeOnly) String() string
- func (t *TimeOnly) StringRepresentation() (string, error)
- func (t *TimeOnly) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- func (t *TimeOnly) Valid() bool
- type UUID
- func (*UUID) Descriptor() ([]byte, []int)deprecated
- func (x *UUID) GetValue() string
- func (m *UUID) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*UUID) ProtoMessage()
- func (x *UUID) ProtoReflect() protoreflect.Message
- func (x *UUID) Reset()
- func (x *UUID) String() string
- func (m *UUID) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- type UUIDValue
- func (*UUIDValue) Descriptor() ([]byte, []int)deprecated
- func (x *UUIDValue) GetValue() string
- func (m *UUIDValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (*UUIDValue) ProtoMessage()
- func (x *UUIDValue) ProtoReflect() protoreflect.Message
- func (x *UUIDValue) Reset()
- func (x *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 ¶
var File_types_types_proto protoreflect.FileDescriptor
Functions ¶
Types ¶
type BigInt ¶ added in v1.1.1
type BigInt struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*BigInt) Descriptor
deprecated
added in
v1.1.1
func (*BigInt) MarshalJSONPB ¶ added in v1.1.1
MarshalJSONPB overloads UUID's standard PB -> JSON conversion
func (*BigInt) ProtoMessage ¶ added in v1.1.1
func (*BigInt) ProtoMessage()
func (*BigInt) ProtoReflect ¶ added in v1.1.1
func (x *BigInt) ProtoReflect() protoreflect.Message
func (*BigInt) UnmarshalJSONPB ¶ added in v1.1.1
func (m *BigInt) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
UnmarshalJSONPB overloads UUID's standard JSON -> PB conversion.
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,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*InetValue) Descriptor
deprecated
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) ProtoReflect ¶ added in v1.1.1
func (x *InetValue) ProtoReflect() protoreflect.Message
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,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*JSONValue) Descriptor
deprecated
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) ProtoReflect ¶ added in v1.1.1
func (x *JSONValue) ProtoReflect() protoreflect.Message
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 TimeOnly ¶ added in v1.1.1
type TimeOnly struct { Value uint32 `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func TimeOnlyByString ¶ added in v1.1.1
func (*TimeOnly) Descriptor
deprecated
added in
v1.1.1
func (*TimeOnly) MarshalJSONPB ¶ added in v1.1.1
func (*TimeOnly) ProtoMessage ¶ added in v1.1.1
func (*TimeOnly) ProtoMessage()
func (*TimeOnly) ProtoReflect ¶ added in v1.1.1
func (x *TimeOnly) ProtoReflect() protoreflect.Message
func (*TimeOnly) StringRepresentation ¶ added in v1.1.1
func (*TimeOnly) UnmarshalJSONPB ¶ added in v1.1.1
func (t *TimeOnly) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
type UUID ¶ added in v0.5.1
type UUID struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UUID) Descriptor
deprecated
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) ProtoReflect ¶ added in v1.1.1
func (x *UUID) ProtoReflect() protoreflect.Message
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,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*UUIDValue) Descriptor
deprecated
func (*UUIDValue) MarshalJSONPB ¶ added in v0.5.0
MarshalJSONPB overloads UUIDValue's standard PB -> JSON conversion
func (*UUIDValue) ProtoMessage ¶
func (*UUIDValue) ProtoMessage()
func (*UUIDValue) ProtoReflect ¶ added in v1.1.1
func (x *UUIDValue) ProtoReflect() protoreflect.Message
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