pluginBase

package
v0.0.0-...-05e86ca Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TBasePlugin

type TBasePlugin struct {
	*commonStatus.TStatus `json:"-"`
	IsDebug               bool   `json:"is_debug"`
	PluginUUID            string `json:"plugin_uuid"`
	PluginName            string `json:"plugin_name"`
	DBConnection          string `json:"db_connection"`
}

func (*TBasePlugin) ConvertConnectOption

func (bp *TBasePlugin) ConvertConnectOption(connection string) map[string]string

func (*TBasePlugin) GetConfigTemplate

func (bp *TBasePlugin) GetConfigTemplate() response.TResponse

GetConfigTemplate 系统配置模板

func (*TBasePlugin) GetSystemUsage

func (bp *TBasePlugin) GetSystemUsage() string

func (*TBasePlugin) Running

func (bp *TBasePlugin) Running() response.TResponse

func (*TBasePlugin) SetConnection

func (bp *TBasePlugin) SetConnection(source string)

func (*TBasePlugin) Stop

func (bp *TBasePlugin) Stop() response.TResponse

Jump to

Keyboard shortcuts

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