Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RootHandler ¶
func RootHandler(ac auth.AccessController, ctx context.Context, trust signed.CryptoService) http.Handler
RootHandler returns the handler that routes all the paths from / for the server.
func Run ¶
func Run(ctx context.Context, addr string, tlsConfig *tls.Config, trust signed.CryptoService, authMethod string, authOpts interface{}) error
Run sets up and starts a TLS server that can be cancelled using the given configuration. The context it is passed is the context it should use directly for the TLS server, and generate children off for requests
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.