proto

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(in proto.Message, out proto.Message) error

Copy takes a proto message and destination and makes a safe copy of it by marshaling the message to the text format and unmarshaling it on a new struct. This allows us to safely send proto through channels without copying the mutexes that are present in the proto genereated structs.

Types

This section is empty.

Jump to

Keyboard shortcuts

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