Documentation ¶
Index ¶
- func GetModule() common.Module
- type BW
- func (m *BW) GetDescription() string
- func (m *BW) GetLastRun() string
- func (m *BW) GetName() string
- func (m *BW) GetRunInterval() int64
- func (m *BW) GetRunIntervalOnBattery() int64
- func (m *BW) GetSlug() string
- func (m *BW) GetWaybarOutput() (*common.WaybarOutput, error)
- func (m *BW) IsEnabled() bool
- func (m *BW) Run() error
- func (m *BW) RunCommand(name string, args []string) error
- func (m *BW) SaveLastRun()
- func (m *BW) SuspendOnBattery() bool
- func (m *BW) WriteOutput() error
- type Item
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BW ¶
type BW struct { Name string Description string Slug string // contains filtered or unexported fields }
func (*BW) GetDescription ¶
func (*BW) GetLastRun ¶
func (*BW) GetRunInterval ¶
func (*BW) GetRunIntervalOnBattery ¶
func (*BW) GetWaybarOutput ¶
func (m *BW) GetWaybarOutput() (*common.WaybarOutput, error)
func (*BW) SaveLastRun ¶
func (m *BW) SaveLastRun()
func (*BW) SuspendOnBattery ¶
func (*BW) WriteOutput ¶
type Item ¶
type Item struct { Object string `json:"object"` Id string `json:"id"` OrganizationId interface{} `json:"organizationId"` FolderId string `json:"folderId"` Type int `json:"type"` Name string `json:"name"` Favorite bool `json:"favorite"` Login struct { Uris []struct { Match interface{} `json:"match"` URI string `json:"uri"` } `json:"uris"` Username string `json:"username"` Password interface{} `json:"password"` PasswordRevisionDate interface{} `json:"passwordRevisionDate"` } `json:"login"` CollectionIds []interface{} `json:"collectionIds"` RevisionDate time.Time `json:"revisionDate"` }
Click to show internal directories.
Click to hide internal directories.