internal

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Custom

type Custom interface {
	Size() int
	Empty() bool
	Bytes() []byte
	Marshal() ([]byte, error)
	MarshalTo(data []byte) (int, error)
	Unmarshal(data []byte) error
	proto.Message
}

Custom contains methods to satisfy proto.Message including custom methods to satisfy protobuf for non-proto defined types.

type Error

type Error string

Error is a custom error.

func (Error) Error

func (e Error) Error() string

Error is an implementation of error interface.

Jump to

Keyboard shortcuts

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