Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCommandFlags ¶
SetCommandFlags creates flags and bind them to Viper.
func ValidateProxyConfig ¶
ValidateProxyConfig validate a viper instance.
Types ¶
type BackendStatistics ¶
type BackendStatistics struct { Name string URL string Sessions int MaxSessions int SessionTTL string }
BackendStatistics stores backends statistics
type ProxyStatistics ¶
type ProxyStatistics struct { Uptime string QueuedSessions int MaxQueuedSessions int QueuedSessionTTL string Backends []*BackendStatistics }
ProxyStatistics stores proxy statistics
type QProxy ¶
type QProxy struct {
// contains filtered or unexported fields
}
QProxy stores sessions and disptach them to backends
func (*QProxy) ListenAndServe ¶
func (qp *QProxy) ListenAndServe()
ListenAndServe starts the proxy and API HTTP server
Click to show internal directories.
Click to hide internal directories.