context

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComponentFromContext

func ComponentFromContext(ctx context.Context) (string, bool)

func FromComponent

func FromComponent(ctx context.Context, component string) context.Context

func FromJobID

func FromJobID(ctx context.Context, jobID uint64) context.Context

func FromProcessor

func FromProcessor(ctx context.Context, processor string) context.Context

func FromRepository

func FromRepository(ctx context.Context, repository string) context.Context

func FromUUID

func FromUUID(ctx context.Context, uuid string) context.Context

func JobIDFromContext

func JobIDFromContext(ctx context.Context) (uint64, bool)

func LoggerFromContext

func LoggerFromContext(ctx context.Context) *logrus.Entry

func ProcessorFromContext

func ProcessorFromContext(ctx context.Context) (string, bool)

func RepositoryFromContext

func RepositoryFromContext(ctx context.Context) (string, bool)

func UUIDFromContext

func UUIDFromContext(ctx context.Context) (string, bool)

Types

This section is empty.

Jump to

Keyboard shortcuts

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