Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerOption ¶
type ServerOption interface {
// contains filtered or unexported methods
}
func WithAPIMiddleware ¶
func WithAPIMiddleware(middleware []api.Middleware) ServerOption
WithAPIMiddleware supplies API middleware
func WithConfigProvider ¶
func WithConfigProvider(cfgProvider config.ConfigProvider) ServerOption
WithConfigProvider supplies the config for the UI server
type ServerOptions ¶
type ServerOptions struct { ConfigProvider config.ConfigProvider APIMiddleware []api.Middleware }
func NewServerOptions ¶
func NewServerOptions(opts []ServerOption) *ServerOptions
Click to show internal directories.
Click to hide internal directories.