pbutil

package
v0.376.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FJSONPB

func FJSONPB(w io.Writer, m protoreflect.ProtoMessage) error

FJSONPB ...

func FTextPB

func FTextPB(w io.Writer, m protoreflect.ProtoMessage) error

FTextPB ...

func FromPB added in v0.374.0

func FromPB(pbPath string, fs afero.Fs) (*sysl.Module, error)

FromPB unmarshals a Sysl module from an encoded protobuf message.

func GeneratePBBinaryMessage added in v0.122.0

func GeneratePBBinaryMessage(w io.Writer, m protoreflect.ProtoMessage) error

GeneratePBBinaryMessage generates binary message to IO writer specified by `w`.

func GeneratePBBinaryMessageFile added in v0.122.0

func GeneratePBBinaryMessageFile(m protoreflect.ProtoMessage, filename string, fs afero.Fs) error

GeneratePBBinaryMessageFile generates binary message to the file specified by `filename`.

func JSONPB

func JSONPB(m protoreflect.ProtoMessage, filename string, fs afero.Fs) error

JSONPB ...

func TextPB

func TextPB(m protoreflect.ProtoMessage, filename string, fs afero.Fs) error

TextPB ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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