Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init() (instrumentation.Tracer, error)
Types ¶
type KafkaCarrier ¶
func NewKafkaCarrier ¶
func NewKafkaCarrier(msg *kafka.Message) *KafkaCarrier
func (*KafkaCarrier) Get ¶
func (kc *KafkaCarrier) Get(key string) string
Get returns the value associated with the passed key.
func (*KafkaCarrier) Keys ¶
func (kc *KafkaCarrier) Keys() []string
Keys lists the keys stored in this carrier.
func (*KafkaCarrier) Set ¶
func (kc *KafkaCarrier) Set(key string, value string)
Set stores the key-value pair.
Click to show internal directories.
Click to hide internal directories.