validate

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

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

func IP

func IP() *Validator

func MinorVersionNumber

func MinorVersionNumber() *Validator

func NoSeparator

func NoSeparator() *Validator

func RFC3339SecondsOnly added in v0.4.0

func RFC3339SecondsOnly() *Validator

func UUID

func UUID() *Validator

func (*Validator) Description

func (v *Validator) Description(_ context.Context) string

func (*Validator) MarkdownDescription

func (v *Validator) MarkdownDescription(_ context.Context) string

func (*Validator) ValidateString

func (v *Validator) ValidateString(ctx context.Context, req validator.StringRequest, resp *validator.StringResponse)

Jump to

Keyboard shortcuts

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