Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilterChainBuilder ¶
type FilterChainBuilder struct { // CustomSpanFunc users are able to custom their span CustomSpanFunc func(span opentracing.Span, ctx context.Context, inv *orm.Invocation) }
FilterChainBuilder provides an extension point this Filter's behavior looks a little bit strange for example: if we want to trace QuerySetter actually we trace invoking "QueryTable" the method Begin*, Commit and Rollback are ignored. When use using those methods, it means that they want to manager their transaction manually, so we won't handle them.
func (*FilterChainBuilder) FilterChain ¶
func (builder *FilterChainBuilder) FilterChain(next orm.Filter) orm.Filter
Click to show internal directories.
Click to hide internal directories.