11 lines
219 B
Go
11 lines
219 B
Go
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)
|
|
}
|