protobuf

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: MIT Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckForBreakingChanges

func CheckForBreakingChanges(current []byte, new []byte) (bool, []string, error)

CheckForBreakingChanges will compare the current protobuf definition with a new one and detect breaking changes.

func ExtractSchema

func ExtractSchema(message descriptor.Message) (string, error)

ExtractSchema will extract a flattened out schema from a protobuf message

func Validate

func Validate(schema []byte) error

Validate will ensure the bytes passed are a valid gzipped proto schema

Types

This section is empty.

Jump to

Keyboard shortcuts

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