package
0.1.51
Repository: https://github.com/origadmin/runtime.git
Documentation: pkg.go.dev

# Functions

NewProtoValidate creates a new ProtoValidator.
No description provided by the author
NewValidateV2 creates a new v2Validator.
ProtoValidate validates a protobuf message.
Server is a validator middleware.
WithAllowUnknownFields allows unknown fields.
WithDescriptors sets the descriptors to validate.
WithDisableLazy disables lazy validation.
WithExtensionTypeResolver sets the extension type resolver.
WithFailFast tells v1Validator to immediately stop doing further validation after first validation error.
WithMessages sets the messages to validate.
WithOnValidationErrCallback registers function that will be invoked on validation error(s).
WithStandardConstraintInterceptor adds a standard constraint interceptor.
WithUTC sets the time zone to UTC.
WithV2ProtoValidatorOptions registers options for Validator with version 2.

# Constants

V1 is the first version of the module, used github.com/envoyproxy/protoc-gen-validate.
V2 is the second version of the module, used github.com/bufbuild/protovalidate-go.

# Structs

No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Version is the version of the module.