pipeline

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: May 6, 2023 License: MIT Imports: 3 Imported by: 2

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