Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶
type Message struct { Type MessageType Content string Headers *RequestHeaders Error error }
Message represents a trace message
type MessageSender ¶
type MessageSender interface { // MessageChan returns a channel for receiving trace messages MessageChan() <-chan Message }
MessageSender defines the interface for sending trace messages
type MessageType ¶
type MessageType int
const ( MessageTypeNode MessageType = iota MessageTypeError MessageTypeAPI )
Click to show internal directories.
Click to hide internal directories.