Documentation ¶ Index ¶ func ListenAndServe(ctx context.Context, opts ServerOptions, healthcore *health.Core) error func NewHandler(serverCtx context.Context, apiRoot string, healthcore *health.Core) http.Handler type ServerOptions Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ListenAndServe ¶ func ListenAndServe(ctx context.Context, opts ServerOptions, healthcore *health.Core) error func NewHandler ¶ func NewHandler(serverCtx context.Context, apiRoot string, healthcore *health.Core) http.Handler Types ¶ type ServerOptions ¶ added in v0.1.0 type ServerOptions struct { Host string Port uint APIRoot string ShutdownGracePeriod time.Duration } Source Files ¶ View all Source files errors.go handler.go server.go Click to show internal directories. Click to hide internal directories.