Documentation
¶
Index ¶
- type ContextKey
- type Logger
- func (l *Logger) AccessLog() bool
- func (l *Logger) CertGenerated(certPath, keyPath string)
- func (l *Logger) InvalidHost(requestID string, host string, reason string)
- func (l *Logger) LogRequest(ctx context.Context, method, host string, targetPort int, statusCode int, ...)
- func (l *Logger) PortDenied(requestID string, port int, reason string)
- func (l *Logger) ProxyError(requestID string, targetPort int, err error)
- func (l *Logger) ServerStarted(addr string)
- func (l *Logger) ServerStarting(addr, certPath, keyPath string, selfSigned bool)
- func (l *Logger) WebSocketUpgrade(requestID string, targetPort int)
- func (l *Logger) WithRequestID(requestID string) *Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
func (*Logger) CertGenerated ¶
func (*Logger) InvalidHost ¶
func (*Logger) LogRequest ¶
func (*Logger) ProxyError ¶
func (*Logger) ServerStarted ¶
func (*Logger) ServerStarting ¶
func (*Logger) WebSocketUpgrade ¶
func (*Logger) WithRequestID ¶
Click to show internal directories.
Click to hide internal directories.