handlers

package
v0.0.0-...-ab02cca Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RootFile = "index.html"
)

Variables

This section is empty.

Functions

func Interactives

func Interactives(cfg *config.Config, clients routes.Clients) func(http.ResponseWriter, *http.Request)

func InteractivesRedirect

func InteractivesRedirect(cfg *config.Config, clients routes.Clients) func(http.ResponseWriter, *http.Request)

Types

type ClientError

type ClientError interface {
	Error() string
	Code() int
}

ClientError is an interface that can be used to retrieve the status code if a client has errored

Jump to

Keyboard shortcuts

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