validation

package
v0.0.0-...-162b478 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidContentLength = errors.New("invalid content length")
	ErrInvalidMimeType      = errors.New("invalid mime type")
)

Functions

func IsFilecoinAddress

func IsFilecoinAddress(fl validator.FieldLevel) bool

func IsValidFIL

func IsValidFIL(fl validator.FieldLevel) bool

Types

type StoreValidator

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

func New

func New(log *zap.Logger) *StoreValidator

Jump to

Keyboard shortcuts

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