plugin

package
v0.1.2-alpha Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasePlugin

type BasePlugin struct {
	Name string `json:"name"`
}

func (*BasePlugin) Register

func (p *BasePlugin) Register() error

type BasePluginInterface

type BasePluginInterface interface {
	Register(server echo.Echo) error
	Bootstrap(server echo.Echo) error
	GetConfig() PluginBaseConfig
}

type PluginBaseConfig

type PluginBaseConfig struct {
	Name        string `json:"name"`
	RestApiPath string `json:"rest_api_path"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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