Documentation ¶
Index ¶
Constants ¶
View Source
const ( MessageType = "messaging.type" MessageName = "messaging.name" Payload = "messaging.payload" Headers = "messaging.headers" MessagingErrorMessage = "messaging.error_message" )
Variables ¶
View Source
var MessagingTracer trace.Tracer
Functions ¶
Types ¶
type MessageCarrier ¶
type MessageCarrier struct {
// contains filtered or unexported fields
}
func NewMessageCarrier ¶
func NewMessageCarrier(meta *metadata.Metadata) MessageCarrier
func (MessageCarrier) Get ¶
func (a MessageCarrier) Get(key string) string
func (MessageCarrier) Keys ¶
func (a MessageCarrier) Keys() []string
func (MessageCarrier) Set ¶
func (a MessageCarrier) Set(key string, value string)
Click to show internal directories.
Click to hide internal directories.