part

package
v0.28.20240115133204 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2024 License: MIT Imports: 5 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 {
	Max int64
	// contains filtered or unexported fields
}

func (*BlockFuncN) Block

func (t *BlockFuncN) Block(failF ...func())

func (*BlockFuncN) BlockAll added in v0.21.11

func (t *BlockFuncN) BlockAll(failF ...func())

func (*BlockFuncN) UnBlock

func (t *BlockFuncN) UnBlock(failF ...func())

func (*BlockFuncN) UnBlockAll added in v0.21.11

func (t *BlockFuncN) UnBlockAll()

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