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

package Mem

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

Package Mem is a memory monitoring applet for Cairo-Dock.

Index

Package Files

Mem.go config.go

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) GetMemActivity Uses

func (app *Applet) GetMemActivity()

GetMemActivity displays current memory usage.

func (*Applet) Init Uses

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

Init load user configuration if needed and initialise applet.

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