Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpClient ¶
type HttpClient interface {
Push(ctx context.Context, request PushRequest) error
}
type PushRequest ¶
type PushRequest struct {
Streams []*Stream `json:"streams"`
}
PushRequest models a log stream push
type StreamConverter ¶
type StreamConverter interface {
ConvertEntry([]byte) (Entry, error)
ExtractLabels([]byte) (LabelSet, error)
}
func NewRawStreamConv ¶
func NewRawStreamConv(labels, sep string) StreamConverter
Click to show internal directories.
Click to hide internal directories.
