dashboard

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2020 License: Apache-2.0, BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const TplExploreAddress = `{{define "address"}}<code>{{.}}</code> <a href="{{exploreAddressUrl .}}">[+]</a>{{end}}`

Variables

This section is empty.

Functions

func ExploreAddressUrl

func ExploreAddressUrl(baseUrl string) func(address fmt.Stringer) string

func ExploreAddressUrlFromGoshimmerUri

func ExploreAddressUrlFromGoshimmerUri(uri string) string

func FormatTimestamp

func FormatTimestamp(ts interface{}) string

func Trim added in v0.0.2

func Trim(s string) string

func UseHTMLErrorHandler

func UseHTMLErrorHandler(e *echo.Echo)

same as https://github.com/labstack/echo/blob/151ed6b3f150163352985448b5630ab69de40aa5/echo.go#L347 but renders HTML instead of json

Types

This section is empty.

Jump to

Keyboard shortcuts

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