mynet

package
v0.0.0-...-7ac3615 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2023 License: BSD-3-Clause-Clear Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler interface {
	Fire(d any)
}

思考需要什么接口

type Pipeline

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

func (*Pipeline) AddFirst

func (p *Pipeline) AddFirst(h Handler)

func (*Pipeline) AddLast

func (p *Pipeline) AddLast(h Handler)

func (*Pipeline) Fire

func (p *Pipeline) Fire(d any)

func (*Pipeline) Init

func (p *Pipeline) Init()

Jump to

Keyboard shortcuts

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