Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SavingsTracker ¶
type SavingsTracker struct {
// contains filtered or unexported fields
}
func NewSavingsTracker ¶
func NewSavingsTracker() *SavingsTracker
func (*SavingsTracker) Record ¶
func (st *SavingsTracker) Record(savedTokens int)
func (*SavingsTracker) RenderASCIIGraph ¶
func (st *SavingsTracker) RenderASCIIGraph(width int) string
func (*SavingsTracker) Total ¶
func (st *SavingsTracker) Total() int64
type TeeExecutor ¶
type TeeExecutor struct {
// contains filtered or unexported fields
}
func NewTeeExecutor ¶
func NewTeeExecutor() *TeeExecutor
func (*TeeExecutor) Execute ¶
func (t *TeeExecutor) Execute(args []string, compressFunc func(string) string) *TeeResult
func (*TeeExecutor) History ¶
func (t *TeeExecutor) History() []TeeResult
func (*TeeExecutor) Recover ¶
func (t *TeeExecutor) Recover(index int) string
Click to show internal directories.
Click to hide internal directories.