Documentation ¶
Index ¶
- Constants
- Variables
- type Inet
- type InetValue
- func (*InetValue) Descriptor() ([]byte, []int)
- func (m *InetValue) GetValue() string
- func (m *InetValue) Marshal() (dAtA []byte, err error)
- func (m *InetValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (m *InetValue) MarshalTo(dAtA []byte) (int, error)
- func (*InetValue) ProtoMessage()
- func (m *InetValue) Reset()
- func (m *InetValue) Size() (n int)
- func (m *InetValue) String() string
- func (m *InetValue) Unmarshal(dAtA []byte) error
- func (m *InetValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- func (m *InetValue) XXX_DiscardUnknown()
- func (m *InetValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *InetValue) XXX_Merge(src proto.Message)
- func (m *InetValue) XXX_Size() int
- func (m *InetValue) XXX_Unmarshal(b []byte) error
- type JSONValue
- func (*JSONValue) Descriptor() ([]byte, []int)
- func (m *JSONValue) GetValue() string
- func (m *JSONValue) Marshal() (dAtA []byte, err error)
- func (m *JSONValue) MarshalJSON() ([]byte, error)
- func (m *JSONValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (m *JSONValue) MarshalTo(dAtA []byte) (int, error)
- func (*JSONValue) ProtoMessage()
- func (m *JSONValue) Reset()
- func (m *JSONValue) Size() (n int)
- func (m *JSONValue) String() string
- func (m *JSONValue) Unmarshal(dAtA []byte) error
- func (m *JSONValue) UnmarshalJSON(data []byte) error
- func (m *JSONValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- func (m *JSONValue) XXX_DiscardUnknown()
- func (m *JSONValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *JSONValue) XXX_Merge(src proto.Message)
- func (m *JSONValue) XXX_Size() int
- func (m *JSONValue) XXX_Unmarshal(b []byte) error
- type UUID
- func (*UUID) Descriptor() ([]byte, []int)
- func (m *UUID) Equal(d *UUID) bool
- func (m *UUID) GetValue() string
- func (m *UUID) Marshal() (dAtA []byte, err error)
- func (m UUID) MarshalGQL(w io.Writer)
- func (m *UUID) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (m *UUID) MarshalTo(dAtA []byte) (int, error)
- func (*UUID) ProtoMessage()
- func (m *UUID) Reset()
- func (m *UUID) Size() (n int)
- func (m *UUID) String() string
- func (m *UUID) Unmarshal(dAtA []byte) error
- func (m *UUID) UnmarshalGQL(v interface{}) error
- func (m *UUID) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- func (m *UUID) XXX_DiscardUnknown()
- func (m *UUID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UUID) XXX_Merge(src proto.Message)
- func (m *UUID) XXX_Size() int
- func (m *UUID) XXX_Unmarshal(b []byte) error
- type UUIDValue
- func (*UUIDValue) Descriptor() ([]byte, []int)
- func (m *UUIDValue) GetValue() string
- func (m *UUIDValue) Marshal() (dAtA []byte, err error)
- func (m *UUIDValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)
- func (m *UUIDValue) MarshalTo(dAtA []byte) (int, error)
- func (*UUIDValue) ProtoMessage()
- func (m *UUIDValue) Reset()
- func (m *UUIDValue) Size() (n int)
- func (m *UUIDValue) String() string
- func (m *UUIDValue) Unmarshal(dAtA []byte) error
- func (m *UUIDValue) UnmarshalJSONPB(_ *jsonpb.Unmarshaler, data []byte) error
- func (m *UUIDValue) XXX_DiscardUnknown()
- func (m *UUIDValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *UUIDValue) XXX_Merge(src proto.Message)
- func (m *UUIDValue) XXX_Size() int
- func (m *UUIDValue) XXX_Unmarshal(b []byte) error
Constants ¶
const ZeroUUID = "00000000-0000-0000-0000-000000000000"
ZeroUUID The Zero value used for non-nil, but uninitialized UUID type
Variables ¶
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") )
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,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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
func (*InetValue) XXX_DiscardUnknown ¶ added in v0.15.2
func (m *InetValue) XXX_DiscardUnknown()
func (*InetValue) XXX_Marshal ¶ added in v0.15.2
func (*InetValue) XXX_Unmarshal ¶ added in v0.15.2
type JSONValue ¶ added in v0.5.0
type JSONValue struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JSONValue) Descriptor ¶ added in v0.5.0
func (*JSONValue) MarshalJSON ¶ added in v0.15.2
MarshalJSON marshal to json
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) UnmarshalJSON ¶ added in v0.15.2
UnmarshalJSON unmarshal json
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
func (*JSONValue) XXX_DiscardUnknown ¶ added in v0.15.2
func (m *JSONValue) XXX_DiscardUnknown()
func (*JSONValue) XXX_Marshal ¶ added in v0.15.2
func (*JSONValue) XXX_Unmarshal ¶ added in v0.15.2
type UUID ¶ added in v0.5.1
type UUID struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UUID) Descriptor ¶ added in v0.5.1
func (UUID) MarshalGQL ¶ added in v0.15.2
MarshalGQL implements the graphql.Marshaler interface
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) UnmarshalGQL ¶ added in v0.15.2
UnmarshalGQL implements the graphql.Marshaler interface
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
func (*UUID) XXX_DiscardUnknown ¶ added in v0.15.2
func (m *UUID) XXX_DiscardUnknown()
func (*UUID) XXX_Marshal ¶ added in v0.15.2
func (*UUID) XXX_Unmarshal ¶ added in v0.15.2
type UUIDValue ¶
type UUIDValue struct { Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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
func (*UUIDValue) XXX_DiscardUnknown ¶ added in v0.15.2
func (m *UUIDValue) XXX_DiscardUnknown()