rtksmart

package
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 1 Imported by: 0

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

type CompactGrep struct {
	Pattern string      `json:"pattern"`
	Groups  []GrepGroup `json:"groups"`
}

func GroupGrepResults

func GroupGrepResults(pattern string, results []string) *CompactGrep

type GrepGroup

type GrepGroup struct {
	FilePath string `json:"file_path"`
	Lines    []int  `json:"lines"`
	Count    int    `json:"count"`
}

type LogDedup

type LogDedup struct{}

func NewLogDedup

func NewLogDedup() *LogDedup

func (*LogDedup) Deduplicate

func (d *LogDedup) Deduplicate(input string) string

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL