Documentation ¶
Index ¶
- Variables
- type Router
- func (*Router) Descriptor() ([]byte, []int)
- func (m *Router) Marshal() (dAtA []byte, err error)
- func (m *Router) MarshalTo(dAtA []byte) (int, error)
- func (m *Router) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Router) ProtoMessage()
- func (m *Router) Reset()
- func (m *Router) Size() (n int)
- func (m *Router) String() string
- func (m *Router) Unmarshal(dAtA []byte) error
- func (m *Router) Validate() error
- func (m *Router) XXX_DiscardUnknown()
- func (m *Router) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Router) XXX_Merge(src proto.Message)
- func (m *Router) XXX_Size() int
- func (m *Router) XXX_Unmarshal(b []byte) error
- type RouterValidationError
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) MarshalToSizedBuffer ¶
func (*Router) ProtoMessage ¶
func (*Router) ProtoMessage()
func (*Router) Validate ¶
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 (*Router) XXX_Unmarshal ¶
type RouterValidationError ¶
type RouterValidationError struct {
// contains filtered or unexported fields
}
RouterValidationError is the validation error returned by Router.Validate if the designated constraints aren't met.
func (RouterValidationError) Cause ¶
func (e RouterValidationError) Cause() error
Cause function returns cause value.
func (RouterValidationError) Error ¶
func (e RouterValidationError) Error() string
Error satisfies the builtin error interface
func (RouterValidationError) ErrorName ¶
func (e RouterValidationError) ErrorName() string
ErrorName returns error name.
func (RouterValidationError) Field ¶
func (e RouterValidationError) Field() string
Field function returns field value.
func (RouterValidationError) Key ¶
func (e RouterValidationError) Key() bool
Key function returns key value.
func (RouterValidationError) Reason ¶
func (e RouterValidationError) Reason() string
Reason function returns reason value.
Click to show internal directories.
Click to hide internal directories.