github.com/mweagle/Sparta@v1.15.0/interceptor/xray_build.go (about) 1 // +build !lambdabinary 2 3 package interceptor 4 5 import ( 6 "context" 7 "encoding/json" 8 ) 9 10 func (xri *xrayInterceptor) Begin(ctx context.Context, msg json.RawMessage) context.Context { 11 return ctx 12 } 13 14 func (xri *xrayInterceptor) BeforeSetup(ctx context.Context, msg json.RawMessage) context.Context { 15 return ctx 16 } 17 func (xri *xrayInterceptor) AfterSetup(ctx context.Context, msg json.RawMessage) context.Context { 18 return ctx 19 } 20 func (xri *xrayInterceptor) BeforeDispatch(ctx context.Context, msg json.RawMessage) context.Context { 21 return ctx 22 } 23 func (xri *xrayInterceptor) AfterDispatch(ctx context.Context, msg json.RawMessage) context.Context { 24 return ctx 25 } 26 func (xri *xrayInterceptor) Complete(ctx context.Context, msg json.RawMessage) context.Context { 27 return ctx 28 }