Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Errorf = fmt.Errorf
Functions ¶
func UseFmtErrorf ¶
func UseFmtErrorf()
func UseXerrorsErrorf ¶
func UseXerrorsErrorf()
Types ¶
type Dispatcher ¶
type Dispatcher struct { JobQueue chan Job Quit chan bool // contains filtered or unexported fields }
func NewDispatcher ¶
func NewDispatcher() Dispatcher
func (*Dispatcher) AddJob ¶
func (d *Dispatcher) AddJob(job Job)
func (*Dispatcher) Stop ¶
func (d *Dispatcher) Stop(ctx context.Context)
type Logger ¶
type Logger interface { logrus.FieldLogger WriterLevel(logrus.Level) *io.PipeWriter }
Logger the Traefik logger
func FromContext ¶
FromContext Gets the logger from context
Click to show internal directories.
Click to hide internal directories.