goext/sq/listener.go

11 lines
221 B
Go
Raw Normal View History

2022-12-07 23:21:36 +01:00
package sq
type Listener interface {
2022-12-21 14:39:59 +01:00
OnQuery(txID *uint16, sql *string, params *PP)
OnExec(txID *uint16, sql *string, params *PP)
2022-12-07 23:21:36 +01:00
OnPing()
OnTxBegin(txid uint16)
OnTxCommit(txid uint16)
OnTxRollback(txid uint16)
}