app

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Rendered for js/wasm

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeHash

func ChangeHash(new string)

func Init

func Init(h ...Handler)

func Start

func Start(h ...Handler)

func URL

func URL() url.URL

Types

type HandleFunc

type HandleFunc func(url.URL, string, string)

func (HandleFunc) Serve

func (f HandleFunc) Serve(curURL url.URL, curHash, oldHash string)

type Handler

type Handler interface {
	Serve(curURL url.URL, curHash, oldHash string)
}

Jump to

Keyboard shortcuts

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