core

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LightLocker

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

func (*LightLocker) Lock

func (l *LightLocker) Lock()

func (*LightLocker) LockPrintTime

func (l *LightLocker) LockPrintTime(printTime int64)

func (*LightLocker) TryLock

func (l *LightLocker) TryLock() bool

func (*LightLocker) UnLock

func (l *LightLocker) UnLock()

type WaitGroup

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

func NewWaitGroup

func NewWaitGroup(delta int) *WaitGroup

func (*WaitGroup) Cancel

func (wg *WaitGroup) Cancel()

func (*WaitGroup) Done

func (wg *WaitGroup) Done() <-chan struct{}

func (*WaitGroup) Wait

func (wg *WaitGroup) Wait()

Jump to

Keyboard shortcuts

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