types

package
v0.12.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

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

View Source
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

type Inet struct {
	*net.IPNet
}

Inet is a special scannable type for an IP/Netmask

func ParseInet added in v0.6.0

func ParseInet(addr string) (*Inet, error)

ParseInet will return the Inet address/netmask represented in the input string

func (*Inet) Scan added in v0.6.0

func (i *Inet) Scan(value interface{}) error

Scan implements the scan part of the sql scannable interface

func (*Inet) String added in v0.8.0

func (i *Inet) String() string

func (Inet) Value added in v0.6.0

func (i Inet) Value() (driver.Value, error)

Value implements the Value part of the sql scannable interface

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) Descriptor() ([]byte, []int)

func (*InetValue) GetValue added in v0.6.0

func (m *InetValue) GetValue() string

func (*InetValue) MarshalJSONPB added in v0.6.0

func (m *InetValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)

MarshalJSONPB overloads InetValue's standard PB -> JSON conversion

func (*InetValue) ProtoMessage added in v0.6.0

func (*InetValue) ProtoMessage()

func (*InetValue) Reset added in v0.6.0

func (m *InetValue) Reset()

func (*InetValue) String added in v0.6.0

func (m *InetValue) String() string

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) Descriptor() ([]byte, []int)

func (*JSONValue) GetValue added in v0.5.0

func (m *JSONValue) GetValue() string

func (*JSONValue) MarshalJSONPB added in v0.5.0

func (m *JSONValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)

MarshalJSONPB overloads JSONValue's standard PB -> JSON conversion

func (*JSONValue) ProtoMessage added in v0.5.0

func (*JSONValue) ProtoMessage()

func (*JSONValue) Reset added in v0.5.0

func (m *JSONValue) Reset()

func (*JSONValue) String added in v0.5.0

func (m *JSONValue) String() string

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) Descriptor() ([]byte, []int)

func (*UUID) GetValue added in v0.5.1

func (m *UUID) GetValue() string

func (*UUID) MarshalJSONPB added in v0.5.1

func (m *UUID) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)

MarshalJSONPB overloads UUID's standard PB -> JSON conversion

func (*UUID) ProtoMessage added in v0.5.1

func (*UUID) ProtoMessage()

func (*UUID) Reset added in v0.5.1

func (m *UUID) Reset()

func (*UUID) String added in v0.5.1

func (m *UUID) String() string

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) Descriptor() ([]byte, []int)

func (*UUIDValue) GetValue

func (m *UUIDValue) GetValue() string

func (*UUIDValue) MarshalJSONPB added in v0.5.0

func (m *UUIDValue) MarshalJSONPB(*jsonpb.Marshaler) ([]byte, error)

MarshalJSONPB overloads UUIDValue's standard PB -> JSON conversion

func (*UUIDValue) ProtoMessage

func (*UUIDValue) ProtoMessage()

func (*UUIDValue) Reset

func (m *UUIDValue) Reset()

func (*UUIDValue) String

func (m *UUIDValue) String() string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL