hello

package
v0.7.0-rc1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(config []byte) (plugin.Plugin, error)

Types

type Config

type Config struct {
	Message string `json:"message" validate:"required"`
}

type HelloPlugin

type HelloPlugin struct {
	plugin.BasePlugin[Config]
}

func (*HelloPlugin) ExecuteOutbound

func (p *HelloPlugin) ExecuteOutbound(outbound *plugin.Outbound, _ *plugin.Context) error

func (*HelloPlugin) ValidateConfig

func (p *HelloPlugin) ValidateConfig() error

Jump to

Keyboard shortcuts

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