v2

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobalStatusConversions = map[string]ConversionFunc{
	"ssl_ctx_verify_depth": ParseInt,
	"ssl_verify_depth":     ParseInt,
}
View Source
var GlobalVariableConversions = map[string]ConversionFunc{
	"gtid_mode": ParseGTIDMode,
}

Functions

func ConvertGlobalStatus

func ConvertGlobalStatus(key string, value sql.RawBytes) (interface{}, error)

func ConvertGlobalVariables

func ConvertGlobalVariables(key string, value sql.RawBytes) (interface{}, error)

func ParseBoolAsInteger

func ParseBoolAsInteger(value sql.RawBytes) (interface{}, error)

func ParseGTIDMode

func ParseGTIDMode(value sql.RawBytes) (interface{}, error)

func ParseInt

func ParseInt(value sql.RawBytes) (interface{}, error)

func ParseValue

func ParseValue(value sql.RawBytes) (interface{}, error)

Types

type ConversionFunc

type ConversionFunc func(value sql.RawBytes) (interface{}, error)

Jump to

Keyboard shortcuts

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