Documentation ¶
Index ¶
- type Bool
- func (*Bool) Descriptor() ([]byte, []int)
- func (m *Bool) GetValue() bool
- func (p Bool) MarshalZerologObject(e *zerolog.Event)
- func (*Bool) ProtoMessage()
- func (m *Bool) Reset()
- func (m *Bool) String() string
- func (m *Bool) Validate() error
- func (m *Bool) XXX_DiscardUnknown()
- func (m *Bool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Bool) XXX_Merge(src proto.Message)
- func (m *Bool) XXX_Size() int
- func (m *Bool) XXX_Unmarshal(b []byte) error
- type BoolValidationError
- type Booler
- type Byte
- func (*Byte) Descriptor() ([]byte, []int)
- func (m *Byte) GetValue() []byte
- func (p Byte) MarshalZerologObject(e *zerolog.Event)
- func (*Byte) ProtoMessage()
- func (m *Byte) Reset()
- func (m *Byte) String() string
- func (m *Byte) Validate() error
- func (m *Byte) XXX_DiscardUnknown()
- func (m *Byte) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Byte) XXX_Merge(src proto.Message)
- func (m *Byte) XXX_Size() int
- func (m *Byte) XXX_Unmarshal(b []byte) error
- type ByteValidationError
- type Byter
- type DebugClient
- func (*DebugClient) Descriptor() ([]byte, []int)
- func (m *DebugClient) GetId() string
- func (p DebugClient) MarshalZerologObject(e *zerolog.Event)
- func (*DebugClient) ProtoMessage()
- func (m *DebugClient) Reset()
- func (m *DebugClient) String() string
- func (m *DebugClient) Validate() error
- func (m *DebugClient) XXX_DiscardUnknown()
- func (m *DebugClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DebugClient) XXX_Merge(src proto.Message)
- func (m *DebugClient) XXX_Size() int
- func (m *DebugClient) XXX_Unmarshal(b []byte) error
- type DebugClientValidationError
- func (e DebugClientValidationError) Cause() error
- func (e DebugClientValidationError) Error() string
- func (e DebugClientValidationError) ErrorName() string
- func (e DebugClientValidationError) Field() string
- func (e DebugClientValidationError) Key() bool
- func (e DebugClientValidationError) Reason() string
- type DebugClienter
- type Event
- func (p *Event) AddTimePoint(tag string, timeStamp time.Time) (Eventer, error)
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetId() []byte
- func (p *Event) GetKey() []byte
- func (m *Event) GetOrigin() string
- func (m *Event) GetTimePoint() []*EventTimePoint
- func (p Event) MarshalZerologObject(e *zerolog.Event)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- func (m *Event) Validate() error
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type EventTimePoint
- func (*EventTimePoint) Descriptor() ([]byte, []int)
- func (m *EventTimePoint) GetTag() string
- func (m *EventTimePoint) GetTimestamp() *timestamp.Timestamp
- func (*EventTimePoint) ProtoMessage()
- func (m *EventTimePoint) Reset()
- func (m *EventTimePoint) String() string
- func (m *EventTimePoint) Validate() error
- func (m *EventTimePoint) XXX_DiscardUnknown()
- func (m *EventTimePoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventTimePoint) XXX_Merge(src proto.Message)
- func (m *EventTimePoint) XXX_Size() int
- func (m *EventTimePoint) XXX_Unmarshal(b []byte) error
- type EventTimePointValidationError
- func (e EventTimePointValidationError) Cause() error
- func (e EventTimePointValidationError) Error() string
- func (e EventTimePointValidationError) ErrorName() string
- func (e EventTimePointValidationError) Field() string
- func (e EventTimePointValidationError) Key() bool
- func (e EventTimePointValidationError) Reason() string
- type EventValidationError
- type Eventer
- type Key
- func (*Key) Descriptor() ([]byte, []int)
- func (m *Key) GetKey() []byte
- func (p Key) MarshalZerologObject(e *zerolog.Event)
- func (*Key) ProtoMessage()
- func (m *Key) Reset()
- func (m *Key) String() string
- func (m *Key) Validate() error
- func (m *Key) XXX_DiscardUnknown()
- func (m *Key) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Key) XXX_Merge(src proto.Message)
- func (m *Key) XXX_Size() int
- func (m *Key) XXX_Unmarshal(b []byte) error
- type KeyPrefix
- func (*KeyPrefix) Descriptor() ([]byte, []int)
- func (m *KeyPrefix) GetPrefix() []byte
- func (p KeyPrefix) MarshalZerologObject(e *zerolog.Event)
- func (*KeyPrefix) ProtoMessage()
- func (m *KeyPrefix) Reset()
- func (m *KeyPrefix) String() string
- func (m *KeyPrefix) Validate() error
- func (m *KeyPrefix) XXX_DiscardUnknown()
- func (m *KeyPrefix) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyPrefix) XXX_Merge(src proto.Message)
- func (m *KeyPrefix) XXX_Size() int
- func (m *KeyPrefix) XXX_Unmarshal(b []byte) error
- type KeyPrefixValidationError
- type KeyPrefixer
- type KeyValidationError
- type KeyValue
- func (*KeyValue) Descriptor() ([]byte, []int)
- func (m *KeyValue) GetKey() []byte
- func (m *KeyValue) GetValue() []byte
- func (p KeyValue) MarshalZerologObject(e *zerolog.Event)
- func (*KeyValue) ProtoMessage()
- func (m *KeyValue) Reset()
- func (m *KeyValue) String() string
- func (m *KeyValue) Validate() error
- func (m *KeyValue) XXX_DiscardUnknown()
- func (m *KeyValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KeyValue) XXX_Merge(src proto.Message)
- func (m *KeyValue) XXX_Size() int
- func (m *KeyValue) XXX_Unmarshal(b []byte) error
- type KeyValueValidationError
- type KeyValuer
- type Keyer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
type Bool struct { Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Bool is ValueObject.
func (*Bool) Descriptor ¶
func (Bool) MarshalZerologObject ¶
func (*Bool) ProtoMessage ¶
func (*Bool) ProtoMessage()
func (*Bool) Validate ¶
Validate checks the field values on Bool with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Bool) XXX_DiscardUnknown ¶
func (m *Bool) XXX_DiscardUnknown()
func (*Bool) XXX_Unmarshal ¶
type BoolValidationError ¶
type BoolValidationError struct {
// contains filtered or unexported fields
}
BoolValidationError is the validation error returned by Bool.Validate if the designated constraints aren't met.
func (BoolValidationError) Cause ¶
func (e BoolValidationError) Cause() error
Cause function returns cause value.
func (BoolValidationError) Error ¶
func (e BoolValidationError) Error() string
Error satisfies the builtin error interface
func (BoolValidationError) ErrorName ¶
func (e BoolValidationError) ErrorName() string
ErrorName returns error name.
func (BoolValidationError) Field ¶
func (e BoolValidationError) Field() string
Field function returns field value.
func (BoolValidationError) Key ¶
func (e BoolValidationError) Key() bool
Key function returns key value.
func (BoolValidationError) Reason ¶
func (e BoolValidationError) Reason() string
Reason function returns reason value.
type Booler ¶
type Booler interface { Descriptor() ([]byte, []int) GetValue() bool MarshalZerologObject(*zerolog.Event) ProtoMessage() Reset() String() string Validate() error XXX_DiscardUnknown() XXX_Marshal([]byte, bool) ([]byte, error) XXX_Merge(protoiface.MessageV1) XXX_Size() int XXX_Unmarshal([]byte) error }
Booler is an interface generated for "github.com/michilu/boilerplate/pb.Bool".
type Byte ¶
type Byte struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Byte is ValueObject.
func (*Byte) Descriptor ¶
func (Byte) MarshalZerologObject ¶
func (*Byte) ProtoMessage ¶
func (*Byte) ProtoMessage()
func (*Byte) Validate ¶
Validate checks the field values on Byte with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Byte) XXX_DiscardUnknown ¶
func (m *Byte) XXX_DiscardUnknown()
func (*Byte) XXX_Unmarshal ¶
type ByteValidationError ¶
type ByteValidationError struct {
// contains filtered or unexported fields
}
ByteValidationError is the validation error returned by Byte.Validate if the designated constraints aren't met.
func (ByteValidationError) Cause ¶
func (e ByteValidationError) Cause() error
Cause function returns cause value.
func (ByteValidationError) Error ¶
func (e ByteValidationError) Error() string
Error satisfies the builtin error interface
func (ByteValidationError) ErrorName ¶
func (e ByteValidationError) ErrorName() string
ErrorName returns error name.
func (ByteValidationError) Field ¶
func (e ByteValidationError) Field() string
Field function returns field value.
func (ByteValidationError) Key ¶
func (e ByteValidationError) Key() bool
Key function returns key value.
func (ByteValidationError) Reason ¶
func (e ByteValidationError) Reason() string
Reason function returns reason value.
type Byter ¶
type Byter interface { Descriptor() ([]byte, []int) GetValue() []byte MarshalZerologObject(*zerolog.Event) ProtoMessage() Reset() String() string Validate() error XXX_DiscardUnknown() XXX_Marshal([]byte, bool) ([]byte, error) XXX_Merge(protoiface.MessageV1) XXX_Size() int XXX_Unmarshal([]byte) error }
Byter is an interface generated for "github.com/michilu/boilerplate/pb.Byte".
type DebugClient ¶
type DebugClient struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DebugClient is Entity
func (*DebugClient) Descriptor ¶
func (*DebugClient) Descriptor() ([]byte, []int)
func (*DebugClient) GetId ¶
func (m *DebugClient) GetId() string
func (DebugClient) MarshalZerologObject ¶
func (p DebugClient) MarshalZerologObject(e *zerolog.Event)
func (*DebugClient) ProtoMessage ¶
func (*DebugClient) ProtoMessage()
func (*DebugClient) Reset ¶
func (m *DebugClient) Reset()
func (*DebugClient) String ¶
func (m *DebugClient) String() string
func (*DebugClient) Validate ¶
func (m *DebugClient) Validate() error
Validate checks the field values on DebugClient with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DebugClient) XXX_DiscardUnknown ¶
func (m *DebugClient) XXX_DiscardUnknown()
func (*DebugClient) XXX_Marshal ¶
func (m *DebugClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DebugClient) XXX_Merge ¶
func (m *DebugClient) XXX_Merge(src proto.Message)
func (*DebugClient) XXX_Size ¶
func (m *DebugClient) XXX_Size() int
func (*DebugClient) XXX_Unmarshal ¶
func (m *DebugClient) XXX_Unmarshal(b []byte) error
type DebugClientValidationError ¶
type DebugClientValidationError struct {
// contains filtered or unexported fields
}
DebugClientValidationError is the validation error returned by DebugClient.Validate if the designated constraints aren't met.
func (DebugClientValidationError) Cause ¶
func (e DebugClientValidationError) Cause() error
Cause function returns cause value.
func (DebugClientValidationError) Error ¶
func (e DebugClientValidationError) Error() string
Error satisfies the builtin error interface
func (DebugClientValidationError) ErrorName ¶
func (e DebugClientValidationError) ErrorName() string
ErrorName returns error name.
func (DebugClientValidationError) Field ¶
func (e DebugClientValidationError) Field() string
Field function returns field value.
func (DebugClientValidationError) Key ¶
func (e DebugClientValidationError) Key() bool
Key function returns key value.
func (DebugClientValidationError) Reason ¶
func (e DebugClientValidationError) Reason() string
Reason function returns reason value.
type DebugClienter ¶
type DebugClienter interface { Descriptor() ([]byte, []int) GetId() string MarshalZerologObject(*zerolog.Event) ProtoMessage() Reset() String() string Validate() error XXX_DiscardUnknown() XXX_Marshal([]byte, bool) ([]byte, error) XXX_Merge(protoiface.MessageV1) XXX_Size() int XXX_Unmarshal([]byte) error }
DebugClienter is an interface generated for "github.com/michilu/boilerplate/pb.DebugClient".
type Event ¶
type Event struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // origin is an identity of the operator who entered the event. Origin string `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"` TimePoint []*EventTimePoint `protobuf:"bytes,3,rep,name=time_point,json=timePoint,proto3" json:"time_point,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Event is Entity.
func (*Event) AddTimePoint ¶
AddTimePoint returns a new Eventer with given the TimePoint.
func (*Event) Descriptor ¶
func (*Event) GetTimePoint ¶
func (m *Event) GetTimePoint() []*EventTimePoint
func (Event) MarshalZerologObject ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) Validate ¶
Validate checks the field values on Event with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
type EventTimePoint ¶
type EventTimePoint struct { Timestamp *timestamp.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
EventTimePoint is Entity.
func (*EventTimePoint) Descriptor ¶
func (*EventTimePoint) Descriptor() ([]byte, []int)
func (*EventTimePoint) GetTag ¶
func (m *EventTimePoint) GetTag() string
func (*EventTimePoint) GetTimestamp ¶
func (m *EventTimePoint) GetTimestamp() *timestamp.Timestamp
func (*EventTimePoint) ProtoMessage ¶
func (*EventTimePoint) ProtoMessage()
func (*EventTimePoint) Reset ¶
func (m *EventTimePoint) Reset()
func (*EventTimePoint) String ¶
func (m *EventTimePoint) String() string
func (*EventTimePoint) Validate ¶
func (m *EventTimePoint) Validate() error
Validate checks the field values on EventTimePoint with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*EventTimePoint) XXX_DiscardUnknown ¶
func (m *EventTimePoint) XXX_DiscardUnknown()
func (*EventTimePoint) XXX_Marshal ¶
func (m *EventTimePoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventTimePoint) XXX_Merge ¶
func (m *EventTimePoint) XXX_Merge(src proto.Message)
func (*EventTimePoint) XXX_Size ¶
func (m *EventTimePoint) XXX_Size() int
func (*EventTimePoint) XXX_Unmarshal ¶
func (m *EventTimePoint) XXX_Unmarshal(b []byte) error
type EventTimePointValidationError ¶
type EventTimePointValidationError struct {
// contains filtered or unexported fields
}
EventTimePointValidationError is the validation error returned by EventTimePoint.Validate if the designated constraints aren't met.
func (EventTimePointValidationError) Cause ¶
func (e EventTimePointValidationError) Cause() error
Cause function returns cause value.
func (EventTimePointValidationError) Error ¶
func (e EventTimePointValidationError) Error() string
Error satisfies the builtin error interface
func (EventTimePointValidationError) ErrorName ¶
func (e EventTimePointValidationError) ErrorName() string
ErrorName returns error name.
func (EventTimePointValidationError) Field ¶
func (e EventTimePointValidationError) Field() string
Field function returns field value.
func (EventTimePointValidationError) Key ¶
func (e EventTimePointValidationError) Key() bool
Key function returns key value.
func (EventTimePointValidationError) Reason ¶
func (e EventTimePointValidationError) Reason() string
Reason function returns reason value.
type EventValidationError ¶
type EventValidationError struct {
// contains filtered or unexported fields
}
EventValidationError is the validation error returned by Event.Validate if the designated constraints aren't met.
func (EventValidationError) Cause ¶
func (e EventValidationError) Cause() error
Cause function returns cause value.
func (EventValidationError) Error ¶
func (e EventValidationError) Error() string
Error satisfies the builtin error interface
func (EventValidationError) ErrorName ¶
func (e EventValidationError) ErrorName() string
ErrorName returns error name.
func (EventValidationError) Field ¶
func (e EventValidationError) Field() string
Field function returns field value.
func (EventValidationError) Key ¶
func (e EventValidationError) Key() bool
Key function returns key value.
func (EventValidationError) Reason ¶
func (e EventValidationError) Reason() string
Reason function returns reason value.
type Eventer ¶
type Eventer interface { AddTimePoint(string, time.Time) (Eventer, error) Descriptor() ([]byte, []int) GetId() []byte GetKey() []byte GetOrigin() string GetTimePoint() []*EventTimePoint MarshalZerologObject(*zerolog.Event) ProtoMessage() Reset() String() string Validate() error XXX_DiscardUnknown() XXX_Marshal([]byte, bool) ([]byte, error) XXX_Merge(protoiface.MessageV1) XXX_Size() int XXX_Unmarshal([]byte) error }
Eventer is an interface generated for "github.com/michilu/boilerplate/pb.Event".
type Key ¶
type Key struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Key is Entity.
func (*Key) Descriptor ¶
func (Key) MarshalZerologObject ¶
func (*Key) ProtoMessage ¶
func (*Key) ProtoMessage()
func (*Key) Validate ¶
Validate checks the field values on Key with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Key) XXX_DiscardUnknown ¶
func (m *Key) XXX_DiscardUnknown()
func (*Key) XXX_Unmarshal ¶
type KeyPrefix ¶
type KeyPrefix struct { Prefix []byte `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
KeyPrefix is ValueObject.
func (*KeyPrefix) Descriptor ¶
func (KeyPrefix) MarshalZerologObject ¶
func (*KeyPrefix) ProtoMessage ¶
func (*KeyPrefix) ProtoMessage()
func (*KeyPrefix) Validate ¶
Validate checks the field values on KeyPrefix with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*KeyPrefix) XXX_DiscardUnknown ¶
func (m *KeyPrefix) XXX_DiscardUnknown()
func (*KeyPrefix) XXX_Marshal ¶
func (*KeyPrefix) XXX_Unmarshal ¶
type KeyPrefixValidationError ¶
type KeyPrefixValidationError struct {
// contains filtered or unexported fields
}
KeyPrefixValidationError is the validation error returned by KeyPrefix.Validate if the designated constraints aren't met.
func (KeyPrefixValidationError) Cause ¶
func (e KeyPrefixValidationError) Cause() error
Cause function returns cause value.
func (KeyPrefixValidationError) Error ¶
func (e KeyPrefixValidationError) Error() string
Error satisfies the builtin error interface
func (KeyPrefixValidationError) ErrorName ¶
func (e KeyPrefixValidationError) ErrorName() string
ErrorName returns error name.
func (KeyPrefixValidationError) Field ¶
func (e KeyPrefixValidationError) Field() string
Field function returns field value.
func (KeyPrefixValidationError) Key ¶
func (e KeyPrefixValidationError) Key() bool
Key function returns key value.
func (KeyPrefixValidationError) Reason ¶
func (e KeyPrefixValidationError) Reason() string
Reason function returns reason value.
type KeyPrefixer ¶
type KeyPrefixer interface { Descriptor() ([]byte, []int) GetPrefix() []byte MarshalZerologObject(*zerolog.Event) ProtoMessage() Reset() String() string Validate() error XXX_DiscardUnknown() XXX_Marshal([]byte, bool) ([]byte, error) XXX_Merge(protoiface.MessageV1) XXX_Size() int XXX_Unmarshal([]byte) error }
KeyPrefixer is an interface generated for "github.com/michilu/boilerplate/pb.KeyPrefix".
type KeyValidationError ¶
type KeyValidationError struct {
// contains filtered or unexported fields
}
KeyValidationError is the validation error returned by Key.Validate if the designated constraints aren't met.
func (KeyValidationError) Cause ¶
func (e KeyValidationError) Cause() error
Cause function returns cause value.
func (KeyValidationError) Error ¶
func (e KeyValidationError) Error() string
Error satisfies the builtin error interface
func (KeyValidationError) ErrorName ¶
func (e KeyValidationError) ErrorName() string
ErrorName returns error name.
func (KeyValidationError) Field ¶
func (e KeyValidationError) Field() string
Field function returns field value.
func (KeyValidationError) Key ¶
func (e KeyValidationError) Key() bool
Key function returns key value.
func (KeyValidationError) Reason ¶
func (e KeyValidationError) Reason() string
Reason function returns reason value.
type KeyValue ¶
type KeyValue struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
KeyValue is Entity.
func (*KeyValue) Descriptor ¶
func (KeyValue) MarshalZerologObject ¶
func (*KeyValue) ProtoMessage ¶
func (*KeyValue) ProtoMessage()
func (*KeyValue) Validate ¶
Validate checks the field values on KeyValue with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*KeyValue) XXX_DiscardUnknown ¶
func (m *KeyValue) XXX_DiscardUnknown()
func (*KeyValue) XXX_Marshal ¶
func (*KeyValue) XXX_Unmarshal ¶
type KeyValueValidationError ¶
type KeyValueValidationError struct {
// contains filtered or unexported fields
}
KeyValueValidationError is the validation error returned by KeyValue.Validate if the designated constraints aren't met.
func (KeyValueValidationError) Cause ¶
func (e KeyValueValidationError) Cause() error
Cause function returns cause value.
func (KeyValueValidationError) Error ¶
func (e KeyValueValidationError) Error() string
Error satisfies the builtin error interface
func (KeyValueValidationError) ErrorName ¶
func (e KeyValueValidationError) ErrorName() string
ErrorName returns error name.
func (KeyValueValidationError) Field ¶
func (e KeyValueValidationError) Field() string
Field function returns field value.
func (KeyValueValidationError) Key ¶
func (e KeyValueValidationError) Key() bool
Key function returns key value.
func (KeyValueValidationError) Reason ¶
func (e KeyValueValidationError) Reason() string
Reason function returns reason value.
type KeyValuer ¶
type KeyValuer interface { Descriptor() ([]byte, []int) GetKey() []byte GetValue() []byte MarshalZerologObject(*zerolog.Event) ProtoMessage() Reset() String() string Validate() error XXX_DiscardUnknown() XXX_Marshal([]byte, bool) ([]byte, error) XXX_Merge(protoiface.MessageV1) XXX_Size() int XXX_Unmarshal([]byte) error }
KeyValuer is an interface generated for "github.com/michilu/boilerplate/pb.KeyValue".
type Keyer ¶
type Keyer interface { Descriptor() ([]byte, []int) GetKey() []byte MarshalZerologObject(*zerolog.Event) ProtoMessage() Reset() String() string Validate() error XXX_DiscardUnknown() XXX_Marshal([]byte, bool) ([]byte, error) XXX_Merge(protoiface.MessageV1) XXX_Size() int XXX_Unmarshal([]byte) error }
Keyer is an interface generated for "github.com/michilu/boilerplate/pb.Key".
Source Files ¶
- debug.pb.go
- debug.pb.validate.go
- event.go
- event.pb.go
- event.pb.validate.go
- gen-zerolog-Bool.go
- gen-zerolog-Byte.go
- gen-zerolog-DebugClient.go
- gen-zerolog-Event.go
- gen-zerolog-Key.go
- gen-zerolog-KeyPrefix.go
- gen-zerolog-KeyValue.go
- if-Booler.go
- if-Byter.go
- if-DebugClienter.go
- if-Eventer.go
- if-KeyPrefixer.go
- if-KeyValuer.go
- if-Keyer.go
- keyvalue.pb.go
- keyvalue.pb.validate.go
- pb.go
- type.pb.go
- type.pb.validate.go