Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodePushRequest ¶
func DecodePushRequest(b io.Reader, r *logproto.PushRequest) error
DecodePushRequest directly decodes json to a logproto.PushRequest
func ReadTailResponseJSON ¶
func ReadTailResponseJSON(r *loghttp.TailResponse, reader WebsocketReader) error
ReadTailResponseJSON unmarshals the loghttp.TailResponse from a websocket reader.
Types ¶
type WebsocketReader ¶
WebsocketReader knows how to read message to a websocket connection.
Click to show internal directories.
Click to hide internal directories.