tools

package
v0.0.0-...-1c07160 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2019 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeASResponse

func MakeASResponse(applicants []string,
	statusCode int,
	ctx *fasthttp.RequestCtx)

func MakeAVSResponse

func MakeAVSResponse(votes map[string]string,
	statusCode int,
	ctx *fasthttp.RequestCtx)

func MakeBHeightResponse

func MakeBHeightResponse(bheight string,
	statusCode int,
	ctx *fasthttp.RequestCtx)

func MakeBalanceResponse

func MakeBalanceResponse(balances map[string]string,
	stakes map[string]string,
	statusCode int,
	ctx *fasthttp.RequestCtx)

func MakeDataResponse

func MakeDataResponse(data string,
	statusCode int,
	ctx *fasthttp.RequestCtx)

func MakeResponse

func MakeResponse(statusCode int,
	ctx *fasthttp.RequestCtx)

func MakeStakeResponse

func MakeStakeResponse(stakes map[string]string,
	statusCode int,
	ctx *fasthttp.RequestCtx)

func MakeStatisticsResponse

func MakeStatisticsResponse(status bool,
	tranCount int64,
	ltps int64,
	blockHeight int64,
	ltpb int64,
	tpd float64,
	upd int64,
	statusCode int,
	ctx *fasthttp.RequestCtx)

func MakeVSResponse

func MakeVSResponse(votes string,
	statusCode int,
	ctx *fasthttp.RequestCtx)

func MakeVersionResponse

func MakeVersionResponse(version string,
	statusCode int,
	ctx *fasthttp.RequestCtx)

Types

This section is empty.

Jump to

Keyboard shortcuts

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