internal

package
v2.10.5+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2016 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLog

type AccessLog struct {
	From   interface{}
	To     interface{}
	Status string
	Reason interface{}
}

func (*AccessLog) Release

func (v *AccessLog) Release()

func (*AccessLog) String

func (v *AccessLog) String() string

type ErrorLog

type ErrorLog struct {
	Prefix string
	Values []interface{}
}

func (*ErrorLog) Release

func (v *ErrorLog) Release()

func (*ErrorLog) String

func (v *ErrorLog) String() string

type FileLogWriter

type FileLogWriter struct {
	// contains filtered or unexported fields
}

func NewFileLogWriter

func NewFileLogWriter(path string) (*FileLogWriter, error)

func (*FileLogWriter) Close

func (v *FileLogWriter) Close()

func (*FileLogWriter) Log

func (v *FileLogWriter) Log(log LogEntry)

type LogEntry

type LogEntry interface {
	common.Releasable
	fmt.Stringer
}

type LogWriter

type LogWriter interface {
	Log(LogEntry)
	Close()
}

func NewStdOutLogWriter

func NewStdOutLogWriter() LogWriter

type NoOpLogWriter

type NoOpLogWriter struct {
}

func (*NoOpLogWriter) Close

func (v *NoOpLogWriter) Close()

func (*NoOpLogWriter) Log

func (v *NoOpLogWriter) Log(entry LogEntry)

type StdOutLogWriter

type StdOutLogWriter struct {
	// contains filtered or unexported fields
}

func (*StdOutLogWriter) Close

func (v *StdOutLogWriter) Close()

func (*StdOutLogWriter) Log

func (v *StdOutLogWriter) Log(log LogEntry)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL