2016-04-13 15:51:58 +02:00
|
|
|
package boil
|
|
|
|
|
|
|
|
// HookPoint is the point in time at which we hook
|
|
|
|
type HookPoint int
|
|
|
|
|
2016-07-19 06:07:12 +02:00
|
|
|
// the hook point constants
|
2016-04-13 15:51:58 +02:00
|
|
|
const (
|
2016-09-01 03:12:46 +02:00
|
|
|
BeforeInsertHook HookPoint = iota + 1
|
|
|
|
BeforeUpdateHook
|
|
|
|
BeforeDeleteHook
|
|
|
|
BeforeUpsertHook
|
|
|
|
AfterInsertHook
|
|
|
|
AfterSelectHook
|
|
|
|
AfterUpdateHook
|
|
|
|
AfterDeleteHook
|
|
|
|
AfterUpsertHook
|
2016-04-13 15:51:58 +02:00
|
|
|
)
|