Versions in this module Expand all Collapse all v1 v1.0.0 Jan 5, 2022 Changes in this version + func New(name string, opts ...Option) server.Runnable + func NewHealthz(opts ...Option) server.Runnable + func NewMetrics(opts ...Option) server.Runnable + func NewReadyz(opts ...Option) server.Runnable + type Option func(*options) + func WithAddr(s string) Option + func WithCert(s string) Option + func WithEndHook(f func()) Option + func WithHandler(handler http.Handler) Option + func WithKey(s string) Option + func WithStartedHook(f func()) Option + type Server struct + func (e *Server) Attempt() bool + func (e *Server) Options(opts ...Option) + func (e *Server) Shutdown(ctx context.Context) error + func (e *Server) Start(ctx context.Context) error + func (e *Server) String() string