chain

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

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

func NewChain

func NewChain() *Chain

func (*Chain) AddToHead

func (c *Chain) AddToHead(fn func())

AddToHead 添加头部

func (*Chain) AddToTail

func (c *Chain) AddToTail(fn func())

AddToTail 添加到尾部

func (*Chain) FireHead

func (c *Chain) FireHead()

FireHead 从头部开始执行

func (*Chain) FireTail

func (c *Chain) FireTail()

FireTail 从尾部开始执行

Jump to

Keyboard shortcuts

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