Documentation
¶
Index ¶
Constants ¶
View Source
const BinaryLogContentType = "application/vnd.vektra-binarylog"
View Source
const TextLogContentType = "application/vnd.vektra-textlog"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONLogStreamer ¶
type JSONLogStreamer struct {
// contains filtered or unexported fields
}
func JSONStreamer ¶
func JSONStreamer(w io.Writer) *JSONLogStreamer
func (*JSONLogStreamer) HandleMessage ¶
func (h *JSONLogStreamer) HandleMessage(m *cypress.Message) error
type KVLogStreamer ¶
type KVLogStreamer struct {
// contains filtered or unexported fields
}
func (*KVLogStreamer) HandleMessage ¶
func (h *KVLogStreamer) HandleMessage(m *cypress.Message) error
type LogHandler ¶
func EstablishHandler ¶
func EstablishHandler(req *http.Request, w http.ResponseWriter) LogHandler
func PickFromRequest ¶
func PickFromRequest(req *http.Request, w io.Writer) LogHandler
type MsgpackLogStreamer ¶
type MsgpackLogStreamer struct {
// contains filtered or unexported fields
}
func MsgpackStreamer ¶
func MsgpackStreamer(w io.Writer) *MsgpackLogStreamer
func (*MsgpackLogStreamer) HandleMessage ¶
func (h *MsgpackLogStreamer) HandleMessage(m *cypress.Message) error
type ProtobufLogStreamer ¶
type ProtobufLogStreamer struct {
// contains filtered or unexported fields
}
func (*ProtobufLogStreamer) HandleMessage ¶
func (h *ProtobufLogStreamer) HandleMessage(m *cypress.Message) error
Click to show internal directories.
Click to hide internal directories.