Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseRequest ¶
func ParseRequest(req *http.Request) (*push.PushRequest, error)
Types ¶
type LabelSet ¶
LabelSet is a key/value pair mapping of labels
func (LabelSet) String ¶
String implements the Stringer interface. It returns a formatted/sorted set of label key/value pairs.
func (*LabelSet) UnmarshalJSON ¶
type PushRequest ¶
type PushRequest struct {
Streams []Stream `json:"streams"`
}
PushRequest models a log stream push but is unmarshalled to proto push format.
Click to show internal directories.
Click to hide internal directories.