spb

package
v0.0.0-...-adc1ce0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	OpSet = iota
	OpGet
	OpList
	OpDelete
)

Variables

This section is empty.

Functions

func LoadDir

func LoadDir(resourceDir string) (*parser.Proto, error)

func LoadFile

func LoadFile(file string) (*parser.Proto, error)

func Parse

func Parse(data []byte) (*parser.Proto, error)

func ResourceLookup

func ResourceLookup(name string, resources []*conv.Resource) (*conv.Resource, bool)

func SpbToProto

func SpbToProto(p *parser.Proto) (*conv.Proto, error)

Types

type Sorted

type Sorted struct {
	Opts []*parser.Option
	Msgs []*parser.Message
}

Jump to

Keyboard shortcuts

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