part

package
v0.28.20240402154002 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockFunc

type BlockFunc struct {
	sync.Mutex
}

新的等待旧的

func (*BlockFunc) Block

func (t *BlockFunc) Block()

func (*BlockFunc) UnBlock

func (t *BlockFunc) UnBlock()

type BlockFuncN

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

func NewBlockFuncN added in v0.28.20240323212235

func NewBlockFuncN(max int) *BlockFuncN

func (*BlockFuncN) Block

func (t *BlockFuncN) Block() (unBlock func())

func (*BlockFuncN) BlockAll added in v0.21.11

func (t *BlockFuncN) BlockAll() (unBlock func())

type FlashFunc

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

新的替换旧的

func (*FlashFunc) Flash

func (t *FlashFunc) Flash() (current uintptr)

func (*FlashFunc) FlashWithCallback added in v0.24.7

func (t *FlashFunc) FlashWithCallback(f func())

func (*FlashFunc) FlashWithContext added in v0.24.6

func (t *FlashFunc) FlashWithContext() (c context.Context)

func (*FlashFunc) NeedExit

func (t *FlashFunc) NeedExit(current uintptr) bool

func (*FlashFunc) UnFlash

func (t *FlashFunc) UnFlash()

type SkipFunc

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

新的跳过

func (*SkipFunc) NeedSkip

func (t *SkipFunc) NeedSkip() (result bool)

func (*SkipFunc) UnSet

func (t *SkipFunc) UnSet()

Jump to

Keyboard shortcuts

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