Documentation ¶ Index ¶ type Aop func (b *Aop) After() func (b *Aop) Before() func (a *Aop) Break(err error) func (a *Aop) Get(key any) any func (a *Aop) GetErr() (err error) func (b *Aop) Handler() func (a *Aop) Set(key, vale any) func (a *Aop) SetErr(err error) type BaseAop func New(Ctx context.Context, I IAop) *BaseAop func (a *BaseAop) Run() (err error) func (a *BaseAop) SetAfter(I ...IAop) *BaseAop func (a *BaseAop) SetBefore(I ...IAop) *BaseAop type IAop Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Aop ¶ type Aop struct { Err error Ctx context.Context // contains filtered or unexported fields } func (*Aop) After ¶ func (b *Aop) After() func (*Aop) Before ¶ func (b *Aop) Before() func (*Aop) Break ¶ func (a *Aop) Break(err error) func (*Aop) Get ¶ func (a *Aop) Get(key any) any func (*Aop) GetErr ¶ func (a *Aop) GetErr() (err error) func (*Aop) Handler ¶ func (b *Aop) Handler() func (*Aop) Set ¶ func (a *Aop) Set(key, vale any) func (*Aop) SetErr ¶ func (a *Aop) SetErr(err error) type BaseAop ¶ type BaseAop struct { I IAop // contains filtered or unexported fields } func New ¶ func New(Ctx context.Context, I IAop) *BaseAop func (*BaseAop) Run ¶ func (a *BaseAop) Run() (err error) func (*BaseAop) SetAfter ¶ func (a *BaseAop) SetAfter(I ...IAop) *BaseAop func (*BaseAop) SetBefore ¶ func (a *BaseAop) SetBefore(I ...IAop) *BaseAop type IAop ¶ type IAop interface { Before() Handler() After() SetErr(err error) GetErr() (err error) Break(err error) // contains filtered or unexported methods } Source Files ¶ View all Source files aop.go Click to show internal directories. Click to hide internal directories.