structpbbson

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ProtoStructType       = reflect.TypeOf(structpb.Struct{})
	ProtoValueType        = reflect.TypeOf(structpb.Value{})
	ProtoListValueType    = reflect.TypeOf(structpb.ListValue{})
	ProtoValueStructType  = reflect.TypeOf(structpb.Value_StructValue{})
	ProtoValueNumberType  = reflect.TypeOf(structpb.Value_NumberValue{})
	ProtoValueStringType  = reflect.TypeOf(structpb.Value_StringValue{})
	ProtoValueBoolType    = reflect.TypeOf(structpb.Value_BoolValue{})
	ProtoValueNullType    = reflect.TypeOf(structpb.Value_NullValue{})
	ProtoValueListType    = reflect.TypeOf(structpb.Value_ListValue{})
	ProtoValueNullPtrType = reflect.TypeOf(&structpb.Value_NullValue{})
)
View Source
var DefaultListCodec = ListCodec{}
View Source
var DefaultStructCodec = StructCodec{}
View Source
var DefaultValueCodec = ValueCodec{}

Functions

This section is empty.

Types

type ListCodec

type ListCodec struct{}

func (ListCodec) DecodeValue

func (ListCodec) EncodeValue

type StructCodec

type StructCodec struct{}

func (StructCodec) DecodeValue

func (StructCodec) EncodeValue

type ValueCodec

type ValueCodec struct{}

func (ValueCodec) DecodeValue

func (ValueCodec) EncodeValue

Jump to

Keyboard shortcuts

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