Documentation
¶
Overview ¶
Package proc watch process status
Index ¶
- func EchartsJS() []byte
- func LocalEchartsJS(htmlpage []byte) []byte
- func SetupBarSOpts(lopt ...charts.SeriesOpts) []charts.SeriesOpts
- func SetupLineGOpts(lopt *LineOpt) []charts.GlobalOpts
- func SetupLineSOpts(lopt ...charts.SeriesOpts) []charts.SeriesOpts
- func SetupYAxisOpts(lopt ...YAxisOpt) []opts.YAxis
- type LineOpt
- type RecordOpt
- type Recorder
- func (r *Recorder) BuildLines(width string, js []*procStatus) []byte
- func (r *Recorder) Export() []byte
- func (r *Recorder) GinHandler(c *gin.Context)
- func (r *Recorder) HTTPHandler(w http.ResponseWriter, req *http.Request)
- func (r *Recorder) LastHTML() string
- func (r *Recorder) LastJSON() string
- func (r *Recorder) LastString() string
- type YAxisOpt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LocalEchartsJS ¶
func SetupBarSOpts ¶
func SetupBarSOpts(lopt ...charts.SeriesOpts) []charts.SeriesOpts
func SetupLineGOpts ¶
func SetupLineGOpts(lopt *LineOpt) []charts.GlobalOpts
func SetupLineSOpts ¶
func SetupLineSOpts(lopt ...charts.SeriesOpts) []charts.SeriesOpts
func SetupYAxisOpts ¶
Types ¶
type Recorder ¶
type Recorder struct {
// contains filtered or unexported fields
}
func (*Recorder) BuildLines ¶
func (*Recorder) GinHandler ¶
func (*Recorder) HTTPHandler ¶
func (r *Recorder) HTTPHandler(w http.ResponseWriter, req *http.Request)
func (*Recorder) LastString ¶
Click to show internal directories.
Click to hide internal directories.