validator

package
v0.0.0-...-fe92b25 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SchemaLoader

type SchemaLoader gojsonschema.JSONLoader

type Validator

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

func New

func New(sl SchemaLoader) (*Validator, error)

func (*Validator) Validate

func (v *Validator) Validate() (result.Result, error)

func (*Validator) ValidateValue

func (v *Validator) ValidateValue(input ValueLoader) (result.Result, error)

type ValueLoader

type ValueLoader gojsonschema.JSONLoader

Jump to

Keyboard shortcuts

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