Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Requests chan *PinbaRequests // contains filtered or unexported fields }
Client is net.Conn wrapper for reading data from pinba-collector
type PinbaRequests ¶
PinbaRequests struct holds slice of decoded Request's and timestamp, when they were collected
func NewPinbaRequests ¶
func NewPinbaRequests(timestamp int64, data io.Reader) (*PinbaRequests, error)
NewPinbaRequests will read and decode requests for given timestamp
type ServerMessage ¶
type ServerMessage struct { Timestamp int64 Data bytes.Buffer // contains filtered or unexported fields }
ServerMessage is struct to read and "decode" pinba-collector (server) messages
Click to show internal directories.
Click to hide internal directories.