Documentation
¶
Index ¶
Constants ¶
View Source
const Hibernate = LogindInterface + ".Hibernate"
View Source
const LogindInterface = "org.freedesktop.login1.Manager"
View Source
const LogindNode = "org.freedesktop.login1"
View Source
const LogindPath = "/org/freedesktop/login1"
View Source
const PowerOff = LogindInterface + ".PowerOff"
View Source
const Reboot = LogindInterface + ".Reboot"
View Source
const Suspend = LogindInterface + ".Suspend"
View Source
const TerminateSession = LogindInterface + ".TerminateSession"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func ConnectToLogindManager ¶
func NewLogindManager ¶
func NewLogindManager(conn *dbus.Conn) Manager
func (Manager) TerminateCurrentSession ¶
func (Manager) TerminateSession ¶
Click to show internal directories.
Click to hide internal directories.