known

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TypeBoolValue = reflect.TypeOf((*wrapperspb.BoolValue)(nil))

BoolValue type.

View Source
var TypeBytesValue = reflect.TypeOf((*wrapperspb.BytesValue)(nil))

BytesValue type.

View Source
var TypeDoubleValue = reflect.TypeOf((*wrapperspb.DoubleValue)(nil))

DoubleValue type.

View Source
var TypeDuration = reflect.TypeOf((*durationpb.Duration)(nil))

Duration type.

View Source
var TypeFloatValue = reflect.TypeOf((*wrapperspb.FloatValue)(nil))

FloatValue type.

View Source
var TypeInt32Value = reflect.TypeOf((*wrapperspb.Int32Value)(nil))

Int32Value type.

View Source
var TypeInt64Value = reflect.TypeOf((*wrapperspb.Int64Value)(nil))

Int64Value type.

View Source
var TypeStringValue = reflect.TypeOf((*wrapperspb.StringValue)(nil))

StringValue type.

View Source
var TypeTimestamp = reflect.TypeOf((*timestamppb.Timestamp)(nil))

Timestamp type.

View Source
var TypeUInt32Value = reflect.TypeOf((*wrapperspb.UInt32Value)(nil))

UInt32Value type.

View Source
var TypeUInt64Value = reflect.TypeOf((*wrapperspb.UInt64Value)(nil))

UInt64Value type.

Functions

This section is empty.

Types

type BoolValueCodec

type BoolValueCodec struct{}

BoolValueCodec is the Codec used for *wrapperspb.BoolValue values.

func NewBoolValueCodec

func NewBoolValueCodec() *BoolValueCodec

NewBoolValueCodec returns a BoolValueCodec.

func (*BoolValueCodec) DecodeValue

DecodeValue is the ValueDecoderFunc for *wrapperspb.BoolValue.

func (*BoolValueCodec) EncodeValue

EncodeValue is the ValueEncoderFunc for *wrapperspb.BoolValue.

type BytesValueCodec

type BytesValueCodec struct{}

BytesValueCodec is the Codec used for *wrapperspb.BytesValue values.

func NewBytesValueCodec

func NewBytesValueCodec() *BytesValueCodec

NewBytesValueCodec returns a BytesValueCodec.

func (*BytesValueCodec) DecodeValue

DecodeValue is the ValueDecoderFunc for *wrapperspb.BytesValue.

func (*BytesValueCodec) EncodeValue

EncodeValue is the ValueEncoderFunc for *wrapperspb.BytesValue.

type DoubleValueCodec

type DoubleValueCodec struct{}

DoubleValueCodec is the Codec used for *wrapperspb.DoubleValue values.

func NewDoubleValueCodec

func NewDoubleValueCodec() *DoubleValueCodec

NewDoubleValueCodec returns a DoubleValueCodec.

func (*DoubleValueCodec) DecodeValue

DecodeValue is the ValueDecoderFunc for *wrapperspb.DoubleValue.

func (*DoubleValueCodec) EncodeValue

EncodeValue is the ValueEncoderFunc for *wrapperspb.DoubleValue.

type DurationCodec

type DurationCodec struct{}

DurationCodec is the Codec used for *durationpb.Duration values.

func NewDurationCodec

func NewDurationCodec() *DurationCodec

NewDurationCodec returns a DurationCodec.

func (*DurationCodec) DecodeValue

DecodeValue is the ValueDecoderFunc for *durationpb.Duration.

func (*DurationCodec) EncodeValue

EncodeValue is the ValueEncoderFunc for *durationpb.Duration.

type FloatValueCodec

type FloatValueCodec struct{}

FloatValueCodec is the Codec used for *wrapperspb.FloatValue values.

func NewFloatValueCodec

func NewFloatValueCodec() *FloatValueCodec

NewFloatValueCodec returns a FloatValueCodec.

func (*FloatValueCodec) DecodeValue

DecodeValue is the ValueDecoderFunc for *wrapperspb.FloatValue.

func (*FloatValueCodec) EncodeValue

EncodeValue is the ValueEncoderFunc for *wrapperspb.FloatValue.

type Int32ValueCodec

type Int32ValueCodec struct{}

Int32ValueCodec is the Codec used for *wrapperspb.Int32Value values.

func NewInt32ValueCodec

func NewInt32ValueCodec() *Int32ValueCodec

NewInt32ValueCodec returns a Int32ValueCodec.

func (*Int32ValueCodec) DecodeValue

DecodeValue is the ValueDecoderFunc for *wrapperspb.Int32Value.

func (*Int32ValueCodec) EncodeValue

EncodeValue is the ValueEncoderFunc for *wrapperspb.Int32Value.

type Int64ValueCodec

type Int64ValueCodec struct{}

Int64ValueCodec is the Codec used for *wrapperspb.Int64Value values.

func NewInt64ValueCodec

func NewInt64ValueCodec() *Int64ValueCodec

NewInt64ValueCodec returns a Int64ValueCodec.

func (*Int64ValueCodec) DecodeValue

DecodeValue is the ValueDecoderFunc for *wrapperspb.Int64Value.

func (*Int64ValueCodec) EncodeValue

EncodeValue is the ValueEncoderFunc for *wrapperspb.Int64Value.

type StringValueCodec

type StringValueCodec struct{}

StringValueCodec is the Codec used for *wrapperspb.StringValue values.

func NewStringValueCodec

func NewStringValueCodec() *StringValueCodec

NewStringValueCodec returns a StringValueCodec.

func (*StringValueCodec) DecodeValue

DecodeValue is the ValueDecoderFunc for *wrapperspb.StringValue.

func (*StringValueCodec) EncodeValue

EncodeValue is the ValueEncoderFunc for *wrapperspb.StringValue.

type TimestampCodec

type TimestampCodec struct{}

TimestampCodec is the Codec used for *timestamppb.Timestamp values.

func NewTimestampCodec

func NewTimestampCodec() *TimestampCodec

NewTimestampCodec returns a TimestampCodec.

func (*TimestampCodec) DecodeValue

DecodeValue is the ValueDecoderFunc for *timestamppb.Timestamp.

func (*TimestampCodec) EncodeValue

EncodeValue is the ValueEncoderFunc for *timestamppb.Timestamp.

type UInt32ValueCodec

type UInt32ValueCodec struct{}

UInt32ValueCodec is the Codec used for *wrapperspb.UInt32Value values.

func NewUInt32ValueCodec

func NewUInt32ValueCodec() *UInt32ValueCodec

NewUInt32ValueCodec returns a UInt32ValueCodec.

func (*UInt32ValueCodec) DecodeValue

DecodeValue is the ValueDecoderFunc for *wrapperspb.UInt32Value.

func (*UInt32ValueCodec) EncodeValue

EncodeValue is the ValueEncoderFunc for *wrapperspb.UInt32Value.

type UInt64ValueCodec

type UInt64ValueCodec struct{}

UInt64ValueCodec is the Codec used for *wrapperspb.UInt64Value values.

func NewUInt64ValueCodec

func NewUInt64ValueCodec() *UInt64ValueCodec

NewUInt64ValueCodec returns a UInt64ValueCodec.

func (*UInt64ValueCodec) DecodeValue

DecodeValue is the ValueDecoderFunc for *wrapperspb.UInt64Value.

func (*UInt64ValueCodec) EncodeValue

EncodeValue is the ValueEncoderFunc for *wrapperspb.UInt64Value.

Jump to

Keyboard shortcuts

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