rest

package
v0.0.0-...-2292cb8 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(target, listen string, startBlock int)

Types

type Router

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

func NewRouter

func NewRouter(target string, startBlock int) *Router

func (Router) AllStats

func (router Router) AllStats(w http.ResponseWriter, r *http.Request)

func (Router) BootStrap

func (router Router) BootStrap()

func (Router) StatsByBlock

func (router Router) StatsByBlock(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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