cmd/

directory
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2026 License: BSD-3-Clause

Directories

Path Synopsis
auth
example command
Command example is a simple HTTP server that demonstrates using an `auth.Authenticator` to protect a handler.
Command example is a simple HTTP server that demonstrates using an `auth.Authenticator` to protect a handler.
jwt-secret command
Command jwt-secret prints a random string suitable for use as a JWT signing secret.
Command jwt-secret prints a random string suitable for use as a JWT signing secret.
cookie
encrypted-cookie command
Command encrypted-cookie prints a new URI suitable for instantiating an `EncryptedCookie` instance.
Command encrypted-cookie prints a new URI suitable for instantiating an `EncryptedCookie` instance.
crumb
encrypted-crumb command
Command encrypted-crumb prints a new URI suitable for instantiating an `EncryptedCrumb` instance.
Command encrypted-crumb prints a new URI suitable for instantiating an `EncryptedCrumb` instance.
Command fileserver serves files from a local directory over HTTP, with optional CORS, gzip, custom content type and custom response header support.
Command fileserver serves files from a local directory over HTTP, with optional CORS, gzip, custom content type and custom response header support.
Command map-config-example is an example web server that serves a map configuration (at /map.json) and an embedded web application for displaying a map using that configuration.
Command map-config-example is an example web server that serves a map configuration (at /map.json) and an embedded web application for displaying a map using that configuration.
server
example command
Command example starts a simple "Hello, {host}" web server using a `server.Server` instance configured by a URI, optionally returning a 503 Service Unavailable response for all requests.
Command example starts a simple "Hello, {host}" web server using a `server.Server` instance configured by a URI, optionally returning a 503 Service Unavailable response for all requests.

Jump to

Keyboard shortcuts

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