eventdata

package
v0.3.0-rc8 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_eventsourcing_eventdata_test_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type TestEventData

type TestEventData struct {
	Hello string `protobuf:"bytes,1,opt,name=hello,proto3" json:"hello,omitempty"`
	// contains filtered or unexported fields
}

func (*TestEventData) Descriptor deprecated

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

Deprecated: Use TestEventData.ProtoReflect.Descriptor instead.

func (*TestEventData) GetHello

func (x *TestEventData) GetHello() string

func (*TestEventData) ProtoMessage

func (*TestEventData) ProtoMessage()

func (*TestEventData) ProtoReflect

func (x *TestEventData) ProtoReflect() protoreflect.Message

func (*TestEventData) Reset

func (x *TestEventData) Reset()

func (*TestEventData) String

func (x *TestEventData) String() string

func (*TestEventData) Validate added in v0.3.0

func (m *TestEventData) Validate() error

Validate checks the field values on TestEventData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

func (*TestEventData) ValidateAll added in v0.3.0

func (m *TestEventData) ValidateAll() error

ValidateAll checks the field values on TestEventData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TestEventDataMultiError, or nil if none found.

type TestEventDataMultiError added in v0.3.0

type TestEventDataMultiError []error

TestEventDataMultiError is an error wrapping multiple validation errors returned by TestEventData.ValidateAll() if the designated constraints aren't met.

func (TestEventDataMultiError) AllErrors added in v0.3.0

func (m TestEventDataMultiError) AllErrors() []error

AllErrors returns a list of validation violation errors.

func (TestEventDataMultiError) Error added in v0.3.0

func (m TestEventDataMultiError) Error() string

Error returns a concatenation of all the error messages it wraps.

type TestEventDataValidationError added in v0.3.0

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

TestEventDataValidationError is the validation error returned by TestEventData.Validate if the designated constraints aren't met.

func (TestEventDataValidationError) Cause added in v0.3.0

Cause function returns cause value.

func (TestEventDataValidationError) Error added in v0.3.0

Error satisfies the builtin error interface

func (TestEventDataValidationError) ErrorName added in v0.3.0

func (e TestEventDataValidationError) ErrorName() string

ErrorName returns error name.

func (TestEventDataValidationError) Field added in v0.3.0

Field function returns field value.

func (TestEventDataValidationError) Key added in v0.3.0

Key function returns key value.

func (TestEventDataValidationError) Reason added in v0.3.0

Reason function returns reason value.

Jump to

Keyboard shortcuts

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