validator

package
v1.0.80 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Routes

func Routes(router *gin.RouterGroup)

Routes defines validators' related routes

func Statistics

func Statistics(c *gin.Context)

Statistics will return the validation statistics for all validators

Types

type ValidatorsStatisticsApiHandler

type ValidatorsStatisticsApiHandler interface {
	ValidatorStatisticsApi() (map[string]*state.ValidatorApiResponse, error)
	IsInterfaceNil() bool
}

ValidatorsStatisticsApiHandler interface defines methods that can be used from `elrondFacade` context variable

Jump to

Keyboard shortcuts

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