Documentation ¶
Index ¶
Constants ¶
View Source
const PluginCode = "github.com/latolukasz/beeorm/plugins/simple_metrics"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MySQLQuery ¶
type MySQLQueryType ¶
type MySQLQueryType uint8
const ( QUERY MySQLQueryType = iota INSERT UPDATE DELETE SHOW ALTER OTHER )
type MySQLSLowQuery ¶
func (*MySQLSLowQuery) String ¶
func (sq *MySQLSLowQuery) String() string
type Plugin ¶
type Plugin struct {
// contains filtered or unexported fields
}
func (*Plugin) ClearMySQLStats ¶
func (p *Plugin) ClearMySQLStats()
func (*Plugin) GetMySQLQueriesStats ¶
func (p *Plugin) GetMySQLQueriesStats(l bool) []MySQLQuery
func (*Plugin) GetMySQLSlowQueriesStats ¶
func (p *Plugin) GetMySQLSlowQueriesStats() []*MySQLSLowQuery
func (*Plugin) PluginInterfaceEngineCreated ¶
func (p *Plugin) PluginInterfaceEngineCreated(engine beeorm.Engine)
Click to show internal directories.
Click to hide internal directories.