local

package
v0.9.4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDefaultContextProvider

func NewDefaultContextProvider(ID string) interface{}

func NewDefaultErrorReportingProvider added in v0.9.3

func NewDefaultErrorReportingProvider(ID string) interface{}

func NewDefaultLoggingProvider added in v0.9.3

func NewDefaultLoggingProvider(ID string) interface{}

func NewDefaultTaskProvider added in v0.9.3

func NewDefaultTaskProvider(ID string) interface{}

Types

type DefaultContext

type DefaultContext struct {
}

func (*DefaultContext) NewHttpContext

func (c *DefaultContext) NewHttpContext(req *http.Request) context.Context

type ErrorReporter

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

func (*ErrorReporter) ReportError

func (er *ErrorReporter) ReportError(e error)

type Logger

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

func (*Logger) Log

func (l *Logger) Log(msg string, keyValuePairs ...string)

func (*Logger) LogWithLevel added in v0.9.3

func (l *Logger) LogWithLevel(lvl logging.Severity, msg string, keyValuePairs ...string)

type Tasks added in v0.9.3

type Tasks struct{}

func (*Tasks) CreateHttpTask added in v0.9.3

func (t *Tasks) CreateHttpTask(ctx context.Context, task tasks.HttpTask) error

Jump to

Keyboard shortcuts

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