interfaces

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleLatestBlocks

func HandleLatestBlocks(ctx *fasthttp.RequestCtx)

func InitAPIHandlers

func InitAPIHandlers(root *router.Group)

Types

type LatestBlock

type LatestBlock struct {
	Hash   string    `json:"hash"`
	Height int       `json:"height"`
	Mined  time.Time `json:"mined"`
	Size   int       `json:"size"`
}

Jump to

Keyboard shortcuts

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