package
0.0.0-20200205150615-415d67629619
Repository: https://github.com/fsufitch/wire-web-demo.git
Documentation: pkg.go.dev

# Functions

ProvideDefaultRouter creates a router using the available handlers.
ProvideServerRunFunc provides a ServerRunFunc.

# Variables

DefaultWebProviderSet is a provider set for building a web server.
ProvideDefaultCounterHandler is a provider set for wiring a default counter handler.
ProvideDefaultHandlers is a provider set for wiring handlers to default implementations.
ProvideDefaultUptimeHandler is a provider set for wiring a default uptime handler.

# Structs

DefaultCounterHandler is a default implementation of CounterHandler.
DefaultUptimeHandler is an implementation of UptimeHandler that remembers its init time.
Handlers is a bundled set of all the application's HTTP handlers.

# Type aliases

CounterHandler is a handler that increments the counter and displays the new value.
ServerRunFunc is a function that starts a blocking server; it returns an error if the server crashed.
UptimeHandler is a handler that writes the server uptime in plaintext.