Documentation
¶
Overview ¶
Package helloserver implements the HTTP server behind hello.ts.net.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// HTTPAddr is the address to run an HTTP server on, or empty for none.
HTTPAddr string
// HTTPSAddr is the address to run an HTTPS server on, or empty for none.
HTTPSAddr string
// LocalClient is used to look up the identity of incoming requests and
// to obtain TLS certificates. If nil, the zero value of local.Client is
// used.
LocalClient *local.Client
}
Server is an HTTP server for hello.ts.net.
The zero value is not valid; populate at least one of HTTPAddr or HTTPSAddr before calling Run.
Click to show internal directories.
Click to hide internal directories.