godock: github.com/sqp/godock/services/DiskActivity Index | Files

package DiskActivity

import "github.com/sqp/godock/services/DiskActivity"

Package DiskActivity is a monitoring applet for Cairo-Dock.


Package Files

DiskActivity.go config.go


const (
    // BlockSize is the disk block size.
    BlockSize = 512

func NewApplet Uses

func NewApplet(base cdtype.AppBase, events *cdtype.Events) cdtype.AppInstance

NewApplet creates a new applet instance.

type Applet Uses

type Applet struct {
    cdtype.AppBase // Applet base and dock connection.
    // contains filtered or unexported fields

Applet defines a dock applet.

func (*Applet) Init Uses

func (app *Applet) Init(def *cdtype.Defaults, confLoaded bool)

Init load user configuration if needed and initialise applet.

Package DiskActivity imports 4 packages (graph) and is imported by 1 packages. Updated 2016-09-13. Refresh now. Tools for package owners.