Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AspectInterface ¶
type AspectInterface interface {
Before(point *JoinPoint) (bool, error)
After(point *JoinPoint)
Finally(point *JoinPoint)
}
切面接口
type JoinPoint ¶
type JoinPoint struct {
Receiver interface{}
Method reflect.Method
Params []reflect.Value
Result []reflect.Value
// contains filtered or unexported fields
}
连接点
type ServerAspect ¶
type ServerAspect struct{}
func (*ServerAspect) After ¶
func (a *ServerAspect) After(point *JoinPoint)
func (*ServerAspect) Finally ¶
func (a *ServerAspect) Finally(point *JoinPoint)
Click to show internal directories.
Click to hide internal directories.