internal

package
v1.24.4 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2016 License: MIT Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InterfaceToString added in v1.17.1

func InterfaceToString(value interface{}) string

Types

type AccessLog

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

func (*AccessLog) Release

func (this *AccessLog) Release()

func (*AccessLog) String

func (this *AccessLog) String() string

type ErrorLog

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

func (*ErrorLog) Release

func (this *ErrorLog) Release()

func (*ErrorLog) String

func (this *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 (this *FileLogWriter) Close()

func (*FileLogWriter) Log

func (this *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 added in v1.19.1

func (this *NoOpLogWriter) Close()

func (*NoOpLogWriter) Log

func (this *NoOpLogWriter) Log(entry LogEntry)

type StdOutLogWriter

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

func (*StdOutLogWriter) Close added in v1.19.1

func (this *StdOutLogWriter) Close()

func (*StdOutLogWriter) Log

func (this *StdOutLogWriter) Log(log LogEntry)

Jump to

Keyboard shortcuts

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