context

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func GetLogID

func GetLogID() string

func SetLogID

func SetLogID(id string)

Types

type WaitStopContext

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

func NewWaitStopContext

func NewWaitStopContext() *WaitStopContext

func (*WaitStopContext) Add

func (c *WaitStopContext) Add(delta int)

func (*WaitStopContext) Cancel

func (c *WaitStopContext) Cancel()

func (*WaitStopContext) Done

func (c *WaitStopContext) Done() <-chan struct{}

func (*WaitStopContext) Finish

func (c *WaitStopContext) Finish()

Jump to

Keyboard shortcuts

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