config

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultRemoveOldSlowLogs = true // whether to remove old slow logs after rotation
)

Functions

func ReadInfoFromShowGlobalStatus

func ReadInfoFromShowGlobalStatus(conn mysql.Connector) (info map[string]interface{})

func ValidateConfig

func ValidateConfig(setConfig pc.QAN) (pc.QAN, error)

Types

type MySQLVarType

type MySQLVarType int
const (
	MySQLVarTypeBoolean MySQLVarType = iota
	MySQLVarTypeString
	MySQLVarTypeInteger
	MySQLVarTypeNumeric
)

Jump to

Keyboard shortcuts

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