v2alpha1

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2018 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthRouter = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRouter   = fmt.Errorf("proto: integer overflow")
)

Functions

This section is empty.

Types

type Router

type Router struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Router) Descriptor

func (*Router) Descriptor() ([]byte, []int)

func (*Router) Marshal

func (m *Router) Marshal() (dAtA []byte, err error)

func (*Router) MarshalTo

func (m *Router) MarshalTo(dAtA []byte) (int, error)

func (*Router) ProtoMessage

func (*Router) ProtoMessage()

func (*Router) Reset

func (m *Router) Reset()

func (*Router) Size

func (m *Router) Size() (n int)

func (*Router) String

func (m *Router) String() string

func (*Router) Unmarshal

func (m *Router) Unmarshal(dAtA []byte) error

func (*Router) Validate

func (m *Router) Validate() error

Validate checks the field values on Router with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*Router) XXX_DiscardUnknown

func (m *Router) XXX_DiscardUnknown()

func (*Router) XXX_Marshal

func (m *Router) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Router) XXX_Merge

func (dst *Router) XXX_Merge(src proto.Message)

func (*Router) XXX_Size

func (m *Router) XXX_Size() int

func (*Router) XXX_Unmarshal

func (m *Router) XXX_Unmarshal(b []byte) error

type RouterValidationError

type RouterValidationError struct {
	Field  string
	Reason string
	Cause  error
	Key    bool
}

RouterValidationError is the validation error returned by Router.Validate if the designated constraints aren't met.

func (RouterValidationError) Error

func (e RouterValidationError) Error() string

Error satisfies the builtin error interface

Jump to

Keyboard shortcuts

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