stdlib

package module
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: MIT Imports: 6 Imported by: 1

README

ply-stdlib

ply interface implementations from the Go standard library

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GroupInterface added in v0.0.10

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

func NewGroupInterface added in v0.0.10

func NewGroupInterface(ctx context.Context) GroupInterface

func (GroupInterface) Go added in v0.0.10

func (g GroupInterface) Go(f func(ctx context.Context) error)

func (GroupInterface) Wait added in v0.0.10

func (g GroupInterface) Wait() error

type LogInterface

type LogInterface struct {
	*stdlog.Logger
}

func (LogInterface) Log

func (i LogInterface) Log(ctx context.Context, severity log.Severity, args ...interface{})

func (LogInterface) LogErr

func (i LogInterface) LogErr(ctx context.Context, severity log.Severity, err error) error

func (LogInterface) LogPayload

func (i LogInterface) LogPayload(ctx context.Context, severity log.Severity, payload interface{})

func (LogInterface) Logf

func (i LogInterface) Logf(ctx context.Context, severity log.Severity, fmt string, args ...interface{})

Jump to

Keyboard shortcuts

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