Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllInterfaceMetadata ¶
func GetAllInterfaceMetadata() common.AllInterfaceMetadata
func GetMockProxyFunctionLayer ¶
func GetMockProxyFunctionLayer() func(func())
func RegisterAOP ¶
func RegisterAOP(aopImpl AOP)
Types ¶
type Interceptor ¶
type Interceptor interface { BeforeInvoke(ctx *InvocationContext) AfterInvoke(ctx *InvocationContext) }
type InvocationContext ¶
type InvocationContext struct { ID uuid.UUID ProxyServicePtr interface{} SDID string MethodName string MethodFullName string Params []reflect.Value ReturnValues []reflect.Value GrID int64 Metadata map[string]interface{} }
func NewInvocationContext ¶
func NewInvocationContext(proxyServicePtr interface{}, sdid, methodName, methodFullName string, params []reflect.Value) *InvocationContext
func (*InvocationContext) SetReturnValues ¶
func (c *InvocationContext) SetReturnValues(returnValues []reflect.Value)
Click to show internal directories.
Click to hide internal directories.