proxysql

package
v0.58.0 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2024 License: GPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DSN     string       `yaml:"dsn"`
	MyCNF   string       `yaml:"my.cnf"`
	Timeout web.Duration `yaml:"timeout"`
}

type ProxySQL

type ProxySQL struct {
	module.Base
	Config `yaml:",inline"`
	// contains filtered or unexported fields
}

func New

func New() *ProxySQL

func (*ProxySQL) Charts

func (p *ProxySQL) Charts() *module.Charts

func (*ProxySQL) Check

func (p *ProxySQL) Check() bool

func (*ProxySQL) Cleanup

func (p *ProxySQL) Cleanup()

func (*ProxySQL) Collect

func (p *ProxySQL) Collect() map[string]int64

func (*ProxySQL) Init

func (p *ProxySQL) Init() bool

Jump to

Keyboard shortcuts

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