This repository has been archived on 2025-03-19. You can view files and clone it, but cannot push or open issues or pull requests.
gonetworkmanager/Checkpoint.go

21 lines
374 B
Go

package gonetworkmanager
import "github.com/godbus/dbus"
type Checkpoint interface {
GetPath() dbus.ObjectPath
}
func NewCheckpoint(objectPath dbus.ObjectPath) (Checkpoint, error) {
var c checkpoint
return &c, c.init(NetworkManagerInterface, objectPath)
}
type checkpoint struct {
dbusBase
}
func (c *checkpoint) GetPath() dbus.ObjectPath {
return c.obj.Path()
}