Commit graph

8 commits

Author SHA1 Message Date
meskedal
4c09e115f8 Fixed duplicate entries in nm and utils
After the latest merge there was a duplicate entry of AddAndActivateWirelessConnection in NetworkManager.go
which has been removed. There was also duplicate functions call2 and
callError2 in utils.go. The duplicate of AddAndActivateWirelessConnection referenced
callError2, and both of these duplicates has been removed.
2019-06-29 23:53:31 +02:00
Tom Wambold
7f3cfc8b74
Merge pull request #10 from phommel/master
Don't Panic ™ : Refactoring of execption handling from panic to error values
2019-06-26 10:08:15 -04:00
Peter Hommel
12d19b58ae Don't Panic: Forward all errors as error values. Read this for reference: https://dave.cheney.net/2012/01/18/why-go-gets-exceptions-right 2019-06-26 09:24:05 +02:00
Peter Hommel
9224fc9401 I have added AddAndActivateConnection to NetworkManager (#8)
Add `AddAndActivateConnection` method to NetworkManager.

This adds a network profile, and activates the connection in one operation.
2019-05-13 09:51:12 -04:00
Peter Hommel
1a95214556 Added utils method for dbus calls with two return values 2019-05-09 10:41:57 +02:00
Kamil Krawczyk
394a1ac2cd Get configuration returned by the IPv4 DHCP server. 2018-07-19 10:22:54 -04:00
Tom Wambold
e9eb8e5842 Flesh out Device and AccessPoint objects, JSON marshalling, basic signals. 2016-05-25 16:47:07 -04:00
Tom Wambold
75591bce97 Initial commit with not a whole lot of coverage. 2016-05-24 20:58:18 -04:00