agent

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Names

func Names() []string

func Register

func Register(a Agent)

Types

type Agent

type Agent interface {
	Name() string

	DecodeHookInput(input []byte) (hook.Event, error)

	EncodeHookResult(event hook.Event, result hook.Result) ([]byte, error)
}

func Get

func Get(name string) (Agent, bool)

type Aliaser added in v0.6.0

type Aliaser interface {
	Aliases() []string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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