ctop/cwidgets/main.go
2017-02-27 09:55:45 +11:00

22 lines
320 B
Go

package cwidgets
import (
"github.com/bcicen/ctop/logging"
ui "github.com/gizak/termui"
)
var log = logging.Init()
type ContainerWidgets interface {
Reset()
Buffer() ui.Buffer
Highlight()
UnHighlight()
SetY(int)
SetWidth(int)
SetStatus(string)
SetCPU(int)
SetNet(int64, int64)
SetMem(int64, int64, int)
}