Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Span ¶
type Span struct { Name string `validate:"required"` Cid string `validate:"required"` Resource string `validate:"required"` Version string `validate:"required"` OrgId string `validate:"required"` Line int `validate:"required"` FuncName string `validate:"required"` FileName string `validate:"required"` Custom map[string]interface{} `validate:"required"` InternalSpan zipkin.Span }
type SpanConfig ¶
func WithCustom ¶
func WithCustom(k string, v interface{}) SpanConfig
func WithName ¶
func WithName(v string) SpanConfig
func WithOrgId ¶
func WithOrgId(v string) SpanConfig
Click to show internal directories.
Click to hide internal directories.