Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListenConfigStorage ¶
type ListenConfigStorage interface {
Update(*v3.ListenConfig) (*v3.ListenConfig, error)
Get(namespace, name string) (*v3.ListenConfig, error)
}
type ServerInterface ¶
type ServerInterface interface {
Disable(config *v3.ListenConfig)
Enable(config *v3.ListenConfig) (bool, error)
Shutdown() error
}
func NewServer ¶
func NewServer(ctx context.Context, listenConfigStorage ListenConfigStorage, handler http.Handler, httpPort, httpsPort int) ServerInterface
Click to show internal directories.
Click to hide internal directories.