Documentation
¶
Index ¶
- type LogEntry
- func (z *LogEntry) DecodeMsg(dc *msgp.Reader) (err error)
- func (z *LogEntry) EncodeMsg(en *msgp.Writer) (err error)
- func (z *LogEntry) MarshalMsg(b []byte) (o []byte, err error)
- func (z *LogEntry) Msgsize() (s int)
- func (z LogEntry) Size() (s int)
- func (z *LogEntry) UnmarshalMsg(bts []byte) (o []byte, err error)
- type LogList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogEntry ¶
type LogEntry struct {
Line string `msg:"l" json:"l"`
Stream string `msg:"s" json:"s"`
Timestamp int64 `msg:"t" json:"t"`
Matches [][]int `msg:"m,omitempty" json:"m,omitempty"`
}
func (*LogEntry) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
type LogList ¶
type LogList []LogEntry
func (LogList) MarshalMsg ¶
MarshalMsg implements msgp.Marshaler
Click to show internal directories.
Click to hide internal directories.