Documentation ¶
Index ¶
- func Parse(i interface{}, dir string) (err error)
- func RegisterInterceptorFactory(tag string, i InterceptorFactory)
- func RegisterInterceptorProxy(name string, i InterceptorProxy)
- func WrapInterceptorProxy(tag, name string, origin interface{}) (wrappedProxy interface{}, ok bool)
- type Interceptor
- type InterceptorFactory
- type InterceptorProxy
- type JoinPoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterInterceptorFactory ¶
func RegisterInterceptorFactory(tag string, i InterceptorFactory)
func RegisterInterceptorProxy ¶
func RegisterInterceptorProxy(name string, i InterceptorProxy)
func WrapInterceptorProxy ¶
Types ¶
type Interceptor ¶
type Interceptor interface {
Defer()
}
type InterceptorFactory ¶
type InterceptorFactory interface {
InitInterceptor(point *JoinPoint) (Interceptor, bool)
}
type InterceptorProxy ¶
type InterceptorProxy interface {
RegisterInterceptor(origin interface{}, inceptorFactory InterceptorFactory) interface{}
}
Click to show internal directories.
Click to hide internal directories.