validation

package
v0.0.0-...-b083768 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BOT_MOVE          = 0
	BOT_REGISTER      = 1
	NEW_GAME_REQUEST  = 2
	NEW_GAME_RESPONSE = 3
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

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

func NewValidator

func NewValidator() *Validator

func (*Validator) ValidateBytes

func (v *Validator) ValidateBytes(bytes []byte, schemaEnum int) bool

Jump to

Keyboard shortcuts

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