Documentation ¶ Index ¶ type Option func WithGracefulShutdownTimeout(timeout time.Duration) Option type Server func NewServer(addr string, handler http.Handler, logger *logr.Logger, opts ...Option) *Server func (s *Server) Start(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Option ¶ type Option func(*Server) func WithGracefulShutdownTimeout ¶ added in v0.0.2 func WithGracefulShutdownTimeout(timeout time.Duration) Option type Server ¶ type Server struct { // contains filtered or unexported fields } func NewServer ¶ func NewServer(addr string, handler http.Handler, logger *logr.Logger, opts ...Option) *Server func (*Server) Start ¶ func (s *Server) Start(ctx context.Context) error Source Files ¶ View all Source files server.go Click to show internal directories. Click to hide internal directories.