29 lines
495 B
Go
29 lines
495 B
Go
package gotop
|
|
|
|
import (
|
|
"io"
|
|
"time"
|
|
|
|
"github.com/cjbassi/gotop/colorschemes"
|
|
"github.com/cjbassi/gotop/widgets"
|
|
)
|
|
|
|
type Config struct {
|
|
ConfigDir string
|
|
LogDir string
|
|
LogPath string
|
|
|
|
GraphHorizontalScale int
|
|
HelpVisible bool
|
|
Colorscheme colorschemes.Colorscheme
|
|
|
|
UpdateInterval time.Duration
|
|
AverageLoad bool
|
|
PercpuLoad bool
|
|
TempScale widgets.TempScale
|
|
Battery bool
|
|
Statusbar bool
|
|
NetInterface string
|
|
Layout io.Reader
|
|
}
|