Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompactFind ¶
type CompactFind struct {
Path string `json:"path"`
Match string `json:"match"`
Line int `json:"line"`
}
func CompactFindResults ¶
func CompactFindResults(results []string) []CompactFind
type CompactGrep ¶
func GroupGrepResults ¶
func GroupGrepResults(pattern string, results []string) *CompactGrep
type LogDedup ¶
type LogDedup struct{}
func NewLogDedup ¶
func NewLogDedup() *LogDedup
func (*LogDedup) Deduplicate ¶
type PipeStripper ¶
type PipeStripper struct{}
func NewPipeStripper ¶
func NewPipeStripper() *PipeStripper
func (*PipeStripper) Strip ¶
func (p *PipeStripper) Strip(command string) string
type SessionTracker ¶
type SessionTracker struct {
// contains filtered or unexported fields
}
func NewSessionTracker ¶
func NewSessionTracker() *SessionTracker
func (*SessionTracker) GetAll ¶
func (t *SessionTracker) GetAll() map[string]int
func (*SessionTracker) GetCount ¶
func (t *SessionTracker) GetCount(sessionID string) int
func (*SessionTracker) Record ¶
func (t *SessionTracker) Record(sessionID string)
type SmartReader ¶
type SmartReader struct {
// contains filtered or unexported fields
}
func NewSmartReader ¶
func NewSmartReader(maxLines int) *SmartReader
func (*SmartReader) ReadSignaturesOnly ¶
func (r *SmartReader) ReadSignaturesOnly(content string) string
func (*SmartReader) SmartSummary ¶
func (r *SmartReader) SmartSummary(content string) string
Click to show internal directories.
Click to hide internal directories.