gogoplugin

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarshalAny

func MarshalAny(s *jsonplugin.MarshalState, v *types.Any, legacyFieldmask bool)

MarshalAny marshals a Any WKT.

func MarshalDuration

func MarshalDuration(s *jsonplugin.MarshalState, v *types.Duration)

MarshalDuration marshals a Duration WKT.

func MarshalEmpty

func MarshalEmpty(s *jsonplugin.MarshalState, _ *types.Empty)

MarshalEmpty marshals an Empty WKT.

func MarshalFieldMask

func MarshalFieldMask(s *jsonplugin.MarshalState, v *types.FieldMask)

MarshalFieldMask marshals a FieldMask WKT.

func MarshalLegacyFieldMask added in v1.4.2

func MarshalLegacyFieldMask(s *jsonplugin.MarshalState, v *types.FieldMask)

func MarshalListValue

func MarshalListValue(s *jsonplugin.MarshalState, v *types.ListValue)

MarshalListValue marshals a ListValue WKT.

func MarshalMessage

func MarshalMessage(s *jsonplugin.MarshalState, v proto.Message)

MarshalMessage marshals a message with the standard JSON marshaler.

func MarshalStruct

func MarshalStruct(s *jsonplugin.MarshalState, v *types.Struct)

MarshalStruct marshals a Struct WKT.

func MarshalTimestamp

func MarshalTimestamp(s *jsonplugin.MarshalState, v *types.Timestamp)

MarshalTimestamp marshals a Timestamp WKT.

func MarshalValue

func MarshalValue(s *jsonplugin.MarshalState, v *types.Value)

MarshalValue marshals a Value WKT.

func UnmarshalAny

func UnmarshalAny(s *jsonplugin.UnmarshalState) *types.Any

UnmarshalAny unmarshals an Any WKT.

func UnmarshalDuration

func UnmarshalDuration(s *jsonplugin.UnmarshalState) *types.Duration

UnmarshalDuration unmarshals a Duration WKT.

func UnmarshalEmpty

func UnmarshalEmpty(s *jsonplugin.UnmarshalState) *types.Empty

UnmarshalEmpty unmarshals a Empty WKT.

func UnmarshalFieldMask

func UnmarshalFieldMask(s *jsonplugin.UnmarshalState) *types.FieldMask

UnmarshalFieldMask unmarshals a FieldMask WKT.

func UnmarshalListValue

func UnmarshalListValue(s *jsonplugin.UnmarshalState) *types.ListValue

UnmarshalListValue unmarshals a ListValue WKT.

func UnmarshalMessage

func UnmarshalMessage(s *jsonplugin.UnmarshalState, v proto.Message)

UnmarshalMessage unmarshals a message with the standard JSON unmarshaler.

func UnmarshalStruct

func UnmarshalStruct(s *jsonplugin.UnmarshalState) *types.Struct

UnmarshalStruct unmarshals a Struct WKT.

func UnmarshalTimestamp

func UnmarshalTimestamp(s *jsonplugin.UnmarshalState) *types.Timestamp

UnmarshalTimestamp unmarshals a Timestamp WKT.

func UnmarshalValue

func UnmarshalValue(s *jsonplugin.UnmarshalState) *types.Value

UnmarshalValue unmarshals a Value WKT.

Types

This section is empty.

Jump to

Keyboard shortcuts

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