Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InterfaceToString ¶ added in v1.17.2
func InterfaceToString(value interface{}) string
Types ¶
type AccessLog ¶
type AccessLog struct { From interface{} To interface{} Status string Reason interface{} }
type FileLogWriter ¶
type FileLogWriter struct {
// contains filtered or unexported fields
}
func NewFileLogWriter ¶
func NewFileLogWriter(path string) (*FileLogWriter, error)
func (*FileLogWriter) Close ¶
func (this *FileLogWriter) Close()
func (*FileLogWriter) Log ¶
func (this *FileLogWriter) Log(log LogEntry)
type LogWriter ¶
type LogWriter interface {
Log(LogEntry)
}
func NewStdOutLogWriter ¶
func NewStdOutLogWriter() LogWriter
type NoOpLogWriter ¶
type NoOpLogWriter struct { }
func (*NoOpLogWriter) Log ¶
func (this *NoOpLogWriter) Log(entry LogEntry)
type StdOutLogWriter ¶
type StdOutLogWriter struct {
// contains filtered or unexported fields
}
func (*StdOutLogWriter) Log ¶
func (this *StdOutLogWriter) Log(log LogEntry)
Click to show internal directories.
Click to hide internal directories.