Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Router ¶
type Router struct {
Routes []*RuntimeRoute
}
type RuntimeRoute ¶
type RuntimeRoute struct {
Config config.Route
Targets []*RuntimeTarget
FlattenedTargets []*RuntimeTarget
Counter uint64
}
type RuntimeTarget ¶
type RuntimeTarget struct {
URL string
Proxy *httputil.ReverseProxy
}
type TLSManager ¶
type TLSManager struct {
// contains filtered or unexported fields
}
func NewTLSManager ¶
func NewTLSManager(cfg *config.Config) (*TLSManager, error)
func (*TLSManager) GetTLSConfig ¶
func (m *TLSManager) GetTLSConfig() *tls.Config
func (*TLSManager) HTTPHandler ¶
func (m *TLSManager) HTTPHandler(fallback http.Handler) http.Handler
Click to show internal directories.
Click to hide internal directories.