gonelog: github.com/One-com/gonelog/context Index | Files

package context

import "github.com/One-com/gonelog/context"

Index

Package Files

context.go

func Background Uses

func Background() *context

type Context Uses

type Context interface {
    goctx.Context
    ilog.Logger
}

func WithCancel Uses

func WithCancel(parent goctx.Context) (Context, goctx.CancelFunc)

func WithLoggedValue Uses

func WithLoggedValue(parent goctx.Context, key interface{}, val interface{}) Context

func WithLogging Uses

func WithLogging(parent goctx.Context, l *log.Logger) Context

func WithTimeout Uses

func WithTimeout(parent goctx.Context, timeout time.Duration) (Context, goctx.CancelFunc)

func WithValue Uses

func WithValue(parent goctx.Context, key interface{}, val interface{}) Context

Package context imports 4 packages (graph). Updated 2016-09-12. Refresh now. Tools for package owners. This is an inactive package (no imports and no commits in at least two years).