proto

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrProtoExists  = errors.New("proto exists")
	ErrUnknownProto = errors.New("unknown proto")
)

Functions

func Add

func Add(name string, p Proto)

func Del

func Del(name string)

func Names

func Names() []string

Types

type Proto

type Proto = func(o opts.Opts) (impl.Impl, error)

func Get

func Get(name string) (Proto, error)

Jump to

Keyboard shortcuts

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