Versions in this module Expand all Collapse all v0 v0.4.0 Dec 4, 2018 Changes in this version + const DefaultAddress + type ColourFormatter struct + func (ColourFormatter) Format(span Span) string + type Formatter interface + Format func(span Span) string + type Server struct + Address string + func NewServer(address string, options ...ServerOption) *Server + func (server Server) Close() error + func (server Server) HandleTrace(w http.ResponseWriter, req *http.Request) + func (server Server) Listen() error + type ServerOption func(*serverConfig) + func WithOutput(output io.Writer) ServerOption + type Span struct + Duration int64 + Error int32 + Meta map[string]string + Metrics map[string]float64 + Operation string + ParentID uint64 + Resource string + Service string + SpanID uint64 + Start int64 + TraceID uint64 + Type string + func DecodeSpans(data []byte) ([]Span, error) + type Trace []*Span + type Traces []Trace