Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListenAndServe ¶
func NewHandler ¶
Types ¶
type APIHandlerOptions ¶
type APIHandlerOptions struct {
APIRoot, ServerName string
Prometheus bool
Catalyst *clients.CatalystOptions
}
type ServerOptions ¶
type ServerOptions struct {
Host string
Port uint
ShutdownGracePeriod time.Duration
APIHandlerOptions
}
Click to show internal directories.
Click to hide internal directories.