parser

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GlobalStatusColCount = 2
)
View Source
const (
	GlobalVariablesColCount = 2
)
View Source
const (
	SlaveStatusColCount = 2
)

Variables

This section is empty.

Functions

func JSONizeGlobalStatus

func JSONizeGlobalStatus(str string)

JSONizeGlobalStatus returns result

func JSONizeGlobalVariables

func JSONizeGlobalVariables(str string)

JSONizeGlobalVariables returns result

func JSONizeInnodbStatus

func JSONizeInnodbStatus(str string)

JSONizeInnodbStatus returns result

func JSONizeSlaveStatus

func JSONizeSlaveStatus(str string)

JSONizeSlaveStatus returns result

func ParseGlobalStatus

func ParseGlobalStatus(str string) (map[string]interface{}, error)

ParseGlobalStatus returns result

func ParseGlobalVariables

func ParseGlobalVariables(str string) (map[string]interface{}, error)

ParseGlobalVariables returns result

func ParseInnodbStatus

func ParseInnodbStatus(str string) (map[string]interface{}, error)

ParseInnodbStatus returns result

func ParseSlaveStatus

func ParseSlaveStatus(str string) (map[string]interface{}, error)

ParseSlaveStatus returns result

Types

type InnodbStatusParser

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

type Section

type Section int
const (
	StartOfInnodbMonitorOutput Section = iota + 1
	BackgroundThread
	Semaphores
	Deadlocks
	ForeignKeyError
	Transactions
	FileIO
	InsertBufferAndAdaptiveHashIndex
	Log
	BufferPoolAndMemory
	IndividualBufferPoolInfo
	RowOperations
	EndOfInnodbMonitorOutput
)

func (Section) String

func (s Section) String() string

Jump to

Keyboard shortcuts

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