appstats

package
v0.0.0-...-f1c88d4 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: BSD-3-Clause Imports: 17 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleIndex

func HandleIndex(root string) http.Handler

HandleIndex returns an index appstats handler rooted at root. It's useful if you desire your server to responds with the appstats HTML page at a

func HandleSignalInterrupt

func HandleSignalInterrupt(msg string, args ...interface{})

func Register

func Register(mux *http.ServeMux)

func RegisterDefault

func RegisterDefault()

func Serve

func Serve(addr string)

Types

type HotReloader

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

func NewHotReloader

func NewHotReloader(path string, rate int) *HotReloader

func (*HotReloader) Watch

func (hr *HotReloader) Watch()

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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