Versions in this module Expand all Collapse all v1 v1.0.1 Jan 30, 2026 v1.0.0 Jan 28, 2026 Changes in this version + const AuthnTypeBearer + const FieldTraceID + const HeaderIdentityLink + const HeaderWorkloadLink + const PerformanceSpanKey + const RemoteIPKey + const TraceIDKey + func BoolPtr(b bool) *bool + func BoolToString(b bool) string + func ContextWithSpan(ctx context.Context, span *PerformanceSpan) context.Context + func EnablePerformanceTracking() + func ExecuteWithRetries(fn func() error, numRetries int, base float64, maximum float64) (int, error) + func ExecuteWithRetriesContext(ctx context.Context, fn func(ctx context.Context) error, numRetries int, ...) (int, error) + func Float32Ptr(f float32) *float32 + func Float64Ptr(f float64) *float64 + func Int32Ptr(i int32) *int32 + func Int64Ptr(i int64) *int64 + func IntPtr(i int) *int + func NewUuid() string + func SetOutputStream(stream io.Writer) + func StrPtr(s string) *string + func Try(f func() error) error + type DataContextType string + type Iterator interface + Error func() error + Item func() T + Next func() bool + type PerformanceSpan struct + func AddChildSpan(ctx context.Context, name string) (context.Context, *PerformanceSpan) + func NewPerformanceSpan(name string) *PerformanceSpan + func SpanFromContext(ctx context.Context) *PerformanceSpan + func (p *PerformanceSpan) Add(childName string, start bool) *PerformanceSpan + func (p *PerformanceSpan) AddChild(child *PerformanceSpan) + func (p *PerformanceSpan) Duration() time.Duration + func (p *PerformanceSpan) Link(other *PerformanceSpan) + func (p *PerformanceSpan) Start() *PerformanceSpan + func (p *PerformanceSpan) Stop() *PerformanceSpan + func (p *PerformanceSpan) Summarize() string + type PerformanceSpanType string + type RemoteIPType string + type Stack struct + func NewStack[T any]() Stack[T] + func (s *Stack[T]) Length() int + func (s *Stack[T]) Pop() T + func (s *Stack[T]) Push(item T) + type StartStopper interface + Start func() + Stop func() + type TraceIDType string