Documentation ¶
Overview ¶
responsequeue ensures that responses to requests are sent in the order they are received
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResponseQueue ¶
type ResponseQueue struct {
// contains filtered or unexported fields
}
func CreateResponseQueue ¶
func CreateResponseQueue(writer io.Writer) *ResponseQueue
func (*ResponseQueue) Close ¶
func (queue *ResponseQueue) Close()
func (*ResponseQueue) RecordOutgoingRequest ¶
func (queue *ResponseQueue) RecordOutgoingRequest(message message.Message)
RecordOutgoingRequest tracks an outgoing request so that responses to pipelined requests caan be sent in order. It is called only by the goroutine that accepts messages from a client of the proxy
Click to show internal directories.
Click to hide internal directories.