Documentation ¶
Index ¶
- type GoRoutineTraceInterceptor
- func (g *GoRoutineTraceInterceptor) AddCurrentGRTracingContext(ctx *GoRoutineTracingContext)
- func (g *GoRoutineTraceInterceptor) AfterInvoke(ctx *aop.InvocationContext, facadeCtxType string)
- func (g *GoRoutineTraceInterceptor) BeforeInvoke(ctx *aop.InvocationContext, facadeCtxType string)
- func (g *GoRoutineTraceInterceptor) DeleteCurrentGRTracingContext()
- func (g *GoRoutineTraceInterceptor) GetCurrentGRTracingContext(ctxType string) *GoRoutineTracingContext
- type GoRoutineTraceInterceptorIOCInterface
- type GoRoutineTracingContext
- type GoRoutineTracingContextParams
- type GoRoutineTracingFacadeContext
- type ThisGoRoutineTraceInterceptor
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoRoutineTraceInterceptor ¶
type GoRoutineTraceInterceptor struct {
// contains filtered or unexported fields
}
func GetGoRoutineTraceInterceptorSingleton ¶
func GetGoRoutineTraceInterceptorSingleton() (*GoRoutineTraceInterceptor, error)
func (*GoRoutineTraceInterceptor) AddCurrentGRTracingContext ¶
func (g *GoRoutineTraceInterceptor) AddCurrentGRTracingContext(ctx *GoRoutineTracingContext)
func (*GoRoutineTraceInterceptor) AfterInvoke ¶
func (g *GoRoutineTraceInterceptor) AfterInvoke(ctx *aop.InvocationContext, facadeCtxType string)
func (*GoRoutineTraceInterceptor) BeforeInvoke ¶
func (g *GoRoutineTraceInterceptor) BeforeInvoke(ctx *aop.InvocationContext, facadeCtxType string)
func (*GoRoutineTraceInterceptor) DeleteCurrentGRTracingContext ¶
func (g *GoRoutineTraceInterceptor) DeleteCurrentGRTracingContext()
func (*GoRoutineTraceInterceptor) GetCurrentGRTracingContext ¶
func (g *GoRoutineTraceInterceptor) GetCurrentGRTracingContext(ctxType string) *GoRoutineTracingContext
GetCurrentGRTracingContext return expected ctx type tracing ctx, FIXME: we now only support one facade tracing ctx type now e.g. if log debug gr is watching, another gr watching like 'trace' watching is invalid
type GoRoutineTraceInterceptorIOCInterface ¶
type GoRoutineTraceInterceptorIOCInterface interface { BeforeInvoke(ctx *aop.InvocationContext, facadeCtxType string) AfterInvoke(ctx *aop.InvocationContext, facadeCtxType string) AddCurrentGRTracingContext(ctx *GoRoutineTracingContext) DeleteCurrentGRTracingContext() GetCurrentGRTracingContext(ctxType string) *GoRoutineTracingContext }
func GetGoRoutineTraceInterceptorIOCInterfaceSingleton ¶
func GetGoRoutineTraceInterceptorIOCInterfaceSingleton() (GoRoutineTraceInterceptorIOCInterface, error)
type GoRoutineTracingContext ¶
type GoRoutineTracingContext struct {
// contains filtered or unexported fields
}
func GetGoRoutineTracingContext ¶
func GetGoRoutineTracingContext(p *GoRoutineTracingContextParams) (*GoRoutineTracingContext, error)
func (*GoRoutineTracingContext) GetFacadeCtx ¶
func (c *GoRoutineTracingContext) GetFacadeCtx() GoRoutineTracingFacadeContext
type GoRoutineTracingContextParams ¶
type GoRoutineTracingContextParams struct { EntranceMethodFullName string FacadeCtx GoRoutineTracingFacadeContext }
type GoRoutineTracingFacadeContext ¶
type GoRoutineTracingFacadeContext interface { aop.Interceptor Type() string }
type ThisGoRoutineTraceInterceptor ¶
type ThisGoRoutineTraceInterceptor struct { }
func (*ThisGoRoutineTraceInterceptor) This ¶
func (t *ThisGoRoutineTraceInterceptor) This() GoRoutineTraceInterceptorIOCInterface
Click to show internal directories.
Click to hide internal directories.