callback

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Callback

type Callback interface {
	Connecter
	Handler
}

type Connecter

type Connecter interface {
	Connect(Username string) error
}

type Handler added in v0.2.3

type Handler interface {
	Handle(path string, c *markup.Lexer) error
}

Handler is called when data is written to an `input` file The path will be the buffer in which the data was written

type Sender added in v0.2.2

type Sender interface {
	SendCommand(string) error
}

Sender interface is used by the listeners to handle control messages SendCommand can be intercepted, but finally should call your service.SendCommand from your controller with the payload

Jump to

Keyboard shortcuts

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