Documentation ¶
Index ¶
- func NewCtrl(c *core.Core, size int) core.LogCtrl
- type Ctrl
- type Event
- func (e *Event) LogSource() core.LogSource
- func (v Event) MarshalEasyJSON(w *jwriter.Writer)
- func (v Event) MarshalJSON() ([]byte, error)
- func (e *Event) SetEnded(end int)
- func (e *Event) Src() int
- func (e *Event) StartFrame() int
- func (v *Event) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *Event) UnmarshalJSON(data []byte) error
- func (e *Event) Write(keysAndValues ...interface{})
- type EventArr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { Typ core.LogSource `json:"event"` F int `json:"frame"` Ended int `json:"ended"` SrcChar int `json:"char_index"` Msg string `json:"msg,nocopy"` Logs map[string]interface{} `json:"logs"` Ordering map[string]int `json:"ordering"` // contains filtered or unexported fields }
func (Event) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Event) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Event) StartFrame ¶
func (*Event) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Event) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
type EventArr ¶
type EventArr []*Event
func (EventArr) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (EventArr) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*EventArr) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*EventArr) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.