rsmodels

package
v0.0.0-...-fc1e0a8 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ValidatedDefaultValidateChecker = DefaultValidateChecker{/* contains filtered or unexported fields */}

Functions

This section is empty.

Types

type DefaultValidateChecker

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

func (DefaultValidateChecker) IsValidated

func (c DefaultValidateChecker) IsValidated() bool

func (*DefaultValidateChecker) SetInvalidated

func (c *DefaultValidateChecker) SetInvalidated()

func (*DefaultValidateChecker) SetValidated

func (c *DefaultValidateChecker) SetValidated()

type PaginatedList

type PaginatedList struct {
	CurrentPage int
	NumItem     int
	TotalCount  int
	Items       interface{}
}

func (PaginatedList) MarshalJSON

func (list PaginatedList) MarshalJSON() ([]byte, error)

type ValidateChecker

type ValidateChecker interface {
	IsValidated() bool
}

type ValidatedObject

type ValidatedObject interface {
	ValidateChecker
	Validator
}

type Validator

type Validator interface {
	Validate() error
}

Jump to

Keyboard shortcuts

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