models

package
v0.0.0-...-89602ce Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2020 License: BSD-3-Clause Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MconfigConverter

type MconfigConverter interface {
	FromMconfig(msg proto.Message) error
	ToMconfig(msg proto.Message) error
	Verify() error
}

mconfig_converters provides model receiver convertors to/from mconfig structs

type ValidateError

type ValidateError struct {
	// contains filtered or unexported fields
}

Type to distinguish between Validation and Invalid message type errors

func NewValidateError

func NewValidateError(str string) *ValidateError

func ValidateErrorf

func ValidateErrorf(format string, a ...interface{}) *ValidateError

func (*ValidateError) Error

func (e *ValidateError) Error() string

Jump to

Keyboard shortcuts

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