This commit is contained in:
2022-12-07 23:21:36 +01:00
parent 2c69b33547
commit f3700a772d
7 changed files with 189 additions and 0 deletions

10
sq/listener.go Normal file
View File

@@ -0,0 +1,10 @@
package sq
type Listener interface {
OnQuery(txID *uint16, sql string, params *PP)
OnExec(txID *uint16, sql string, params *PP)
OnPing()
OnTxBegin(txid uint16)
OnTxCommit(txid uint16)
OnTxRollback(txid uint16)
}