validation

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Call

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

func NewCall

func NewCall(options *CallOptions) (*Call, error)

func (*Call) ApiCall

func (c *Call) ApiCall() string

type CallOptions

type CallOptions struct {
	IsArray   bool
	ProtoName string
	Receiver  string
	Options   *extensions.MikrosFieldExtensions
	Settings  *settings.Settings
	Message   *protobuf.Message
}

type RequiredCondition

type RequiredCondition struct {
	Rules                      []*RequiredFieldRuleOptions
	Negative                   bool
	UsePrefixCondition         bool
	DefaultConditionOperation  string
	NegativeConditionOperation string
	RuleConditionOperation     string
}

type RequiredFieldRuleOptions

type RequiredFieldRuleOptions struct {
	FieldName string
	Value     string
	Type      descriptor.FieldDescriptorProto_Type
	TypeName  string
}

Jump to

Keyboard shortcuts

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