pipeline

package
v1.1.71 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel interface {
	PushFront(h Func)
	PushBack(h Func)
	Process(s *session.Session, msg *message.Message) error
}

type Func

type Func func(s *session.Session, msg *message.Message) error

type Message

type Message = message.Message

Message is the alias of `message.Message`

type Pipeline

type Pipeline interface {
	Outbound() Channel
	Inbound() Channel
}

func New

func New() Pipeline

Jump to

Keyboard shortcuts

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