Versions in this module Expand all Collapse all v0 v0.5.0 May 16, 2023 Changes in this version + const ZuluTime + func ContextPushSpan(ctx context.Context, name string) (context.Context, spans.Factory) + func EnvInteger(tacit int, envvar string) int + func NewSpanID(oldSpanID uint64) (spanID uint64) + func NewTraceID(oldTraceID string) string + func PushSpan(pReq **http.Request, pCtx *context.Context, name string) spans.Factory + func RequestPushSpan(req *http.Request, ctx context.Context, name string) (*http.Request, context.Context, spans.Factory) + func StartServer(pCtx *context.Context, pRegs ...**Registrar) func() + func TimeAsString(when time.Time) string + type Client struct + func MustNewClient(ctx context.Context, svc *ct2.Service) Client + func NewClient(ctx context.Context, svc *ct2.Service) (Client, error) + type Registrar struct + func MustNewRegistrar(project string, client Client) *Registrar + func NewRegistrar(project string, client Client) (*Registrar, error) + func (r *Registrar) Halt() + func (r *Registrar) NewFactory() spans.Factory + func (r *Registrar) WaitForIdleRunners() + func (r *Registrar) WaitForRunnerRead() + type Span struct + func (s *Span) AddAttribute(key string, val interface{}) error + func (s *Span) AddPairs(pairs ...interface{}) spans.Factory + func (s *Span) Finish() time.Duration + func (s *Span) NewSpan() spans.Factory + func (s *Span) NewSubSpan() spans.Factory + func (s *Span) SetDisplayName(desc string) spans.Factory + func (s *Span) SetIsClient() spans.Factory + func (s *Span) SetIsPublisher() spans.Factory + func (s *Span) SetIsServer() spans.Factory + func (s *Span) SetIsSubscriber() spans.Factory + func (s *Span) SetStatusCode(code int64) spans.Factory + func (s *Span) SetStatusMessage(msg string) spans.Factory + func (s Span) GetDuration() time.Duration + func (s Span) GetStart() time.Time + func (s Span) Import(traceID string, spanID uint64) (spans.Factory, error) + func (s Span) ImportFromHeaders(headers http.Header) spans.Factory + func (s Span) NewTrace() spans.Factory + type Stringer interface + String func() string