protobuf

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToByteArray

func ToByteArray(v *structpb.Value) (b []byte, err error)

ToByteArray converts the protobuf value to a byte array

func ToStruct

func ToStruct[T any](value *structpb.Value) (strct T, err error)

func ToValue

func ToValue(strct any) (value *structpb.Value, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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