plugin

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 24, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PgxPoolConnect = pgxpool.New
View Source
var PluginName = cfg.PluginName

Functions

This section is empty.

Types

type Factory

type Factory struct{}

func (Factory) New

func (Factory) New(m *plugins.Manager, config interface{}) plugins.Plugin

func (Factory) Validate

func (Factory) Validate(m *plugins.Manager, config []byte) (interface{}, error)

type PostgresPlugin

type PostgresPlugin struct {
	// contains filtered or unexported fields
}

func (*PostgresPlugin) Reconfigure

func (p *PostgresPlugin) Reconfigure(ctx context.Context, config interface{})

func (*PostgresPlugin) Start

func (p *PostgresPlugin) Start(ctx context.Context) error

func (*PostgresPlugin) Stop

func (p *PostgresPlugin) Stop(ctx context.Context)

Jump to

Keyboard shortcuts

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