mbcontext

package
v0.0.0-...-e9f0680 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	context.Context
	// contains filtered or unexported fields
}

func NewContext

func NewContext(ctx context.Context) *Context

func (*Context) AddService

func (c *Context) AddService(n int)

func (*Context) CancelFunc

func (c *Context) CancelFunc()

func (*Context) DoneService

func (c *Context) DoneService()

func (*Context) GetCancelFunc

func (c *Context) GetCancelFunc() context.CancelFunc

func (*Context) Wait

func (c *Context) Wait()

type ContextOption

type ContextOption interface {
	// contains filtered or unexported methods
}

ContextOption sets options such as Isolate and Global Template to the NewContext

Jump to

Keyboard shortcuts

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