plugin

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connector added in v1.2.0

func Connector()

Connecting Plugin to MessageChannel

func LoadPlugin

func LoadPlugin(plugin GonePlugin)

Load a plugin.

func ProcessMsg added in v1.2.0

func ProcessMsg(rawMsg message.Message) (resultMsg message.Message)

Process Message.

Types

type GonePlugin

type GonePlugin struct {
	Name        string
	Description string
	Version     string

	Handlers       []handler.GoneHandler
	ActiveHandlers []handler.GoneActiveHandler
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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