# Packages
Package analytics provides a way to generate google analytics snippets.
Package auth implements authentication and authorization framework for HTTP servers.
Package bqlog implements best effort low-overhead structured logging to BigQuery.
Package caching implements common server object caches.
No description provided by the author
Package cron allows to register handlers called by Cloud Scheduler.
Package dsmapper implements a simple Datastore mapper.
Package encryptedcookies implements authentication using encrypted cookies.
Package experiments allow servers to use experimental code paths.
Package gaeemulation provides a server module that adds implementation of some https://godoc.org/go.chromium.org/luci/gae APIs to the global server context.
Package gerritauth implements authentication using Gerrit JWTs.
Package limiter implements load shedding for servers.
Package loginsessions implements Login Sessions backend that is used to perform interactive logins in LUCI CLI tools.
Package mailer can be used to send mails through a mailer service.
Package middleware contains some basic middlewares.
Package module defines a framework for extending server.Server with optional reusable bundles of functionality (called "modules", naturally).
Package portal implements HTTP routes for portal pages.
Package pprof is similar to net/http/pprof, except it supports auth.
Package pubsub allows to register handlers called by Cloud Pub/Sub.
Package quota provides an implementation for server quotas which are backed by Redis.
Package quota provides a LUCI Quota Library implementation.
Package redisconn implements integration with a Redis connection pool.
Package router provides an HTTP router.
Package secrets provides a secrets store based on Google Secret Manager.
Package servertest contains helpers for running server integration tests.
Package settings implements storage for infrequently changing global settings.
Package span implements a server module for communicating with Cloud Spanner.
Package templates implements wrapper around html/template to provide lazy loading of templates and better integration with HTTP middleware framework.
Package tokens provides means to generate and validate base64 encoded tokens compatible with luci-py's components.auth implementation.
Package tq provides a task queue implementation on top of Cloud Tasks.
Package tsmon adapts common/tsmon library to a server-side environment.
Package warmup allows to register hooks executed during the server warmup.
# Functions
Main initializes the server and runs its serving loop until SIGTERM.
New constructs a new server instance.
OptionsFromEnv prepopulates options based on the runtime environment.
# Structs
Options are used to configure the server.
Port is returned by Server's AddPort and used to setup the request routing.
PortOptions is a configuration of a single serving HTTP port.
Server is responsible for initializing and launching the serving environment.