Documentation
¶
Index ¶
Constants ¶
View Source
const ( BeforeExec = iota AfterExec BeforeDo AfterDo )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Action ¶
type Action struct {
// contains filtered or unexported fields
}
Action 非get查询的request表中的请求
type Hook ¶
type Hook struct { For string // // Exec 事务外 BeforeExec func(ctx context.Context, n *Node, method string) error AfterExec func(ctx context.Context, n *Node, method string) error // Do 事务内 BeforeDo func(ctx context.Context, n *Node, method string) error AfterDo func(ctx context.Context, n *Node, method string) error }
Click to show internal directories.
Click to hide internal directories.