Help us shape the future of Go! Take the 2026 Go Developer Survey

status

package
v0.2.8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const LastDataCacheTime = time.Duration(60)
View Source
const PageCacheTime = time.Duration(15)
View Source
const SlowAvgBlocksCacheTime = time.Duration(300)

Variables

This section is empty.

Functions

func ApplyRoutes

func ApplyRoutes(r *gin.RouterGroup)

ApplyRoutes applies router to the gin Engine

func GetStatus

func GetStatus(c *gin.Context)

func GetStatusPage

func GetStatusPage(c *gin.Context)

Types

type Data

type Data struct {
	Result interface{}
	Error  error
}

Jump to

Keyboard shortcuts

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