Commit graph

12 commits

Author SHA1 Message Date
ab6be93b33
github username change 2021-10-29 16:14:02 +03:00
Rasmus Moorats
ed86579646 added some clarifying comments 2018-08-29 18:15:33 +03:00
Rasmus Moorats
bcc1072246 Licensing
Also, I give up. Tabs it is. You win, gofmt.
2018-08-29 09:37:17 +03:00
Rasmus Moorats
afd82431a4 Tabs. Again... 2018-08-28 20:51:39 +03:00
Rasmus Moorats
e41298cb47 Consistent tab usage 2018-08-27 21:21:39 +03:00
Rasmus Moorats
6fead587af internal: restructure package layout
Methods that handle commands are still in internal/cmd, but the commands themselves are now in internal/commands. Commands should import internal/cmd and call Register() to be added to the commandlist.

Furthermore, this commit adds the requests file, with a genUbusRequest() method.
2018-06-30 16:58:30 +03:00
Rasmus Moorats
fa66fa193a cmd: forgot to add connect and disconnect 2018-06-29 19:59:16 +03:00
Rasmus Moorats
5f9c8bd28c internal: spaghettify code
Some channels to handle connection/disconnection requests from commands. Moved the in/out channels to internal/setting.

Also added a connect and disconnect command. The code keeps getting worse...
2018-06-29 19:36:12 +03:00
Rasmus Moorats
8f3114f5c2 cmd: make MinArg and MaxArg functional 2018-06-29 17:50:57 +03:00
Rasmus Moorats
57a5dc2d1f cmd: Fix Execute() and Usage() 2018-06-29 17:28:27 +03:00
Rasmus Moorats
61dc557f16 connection: Basic functions to connect, send and receive data.
Also, convert all tabs to spaces. Thanks, Sublime /s
2018-06-28 19:12:37 +03:00
Rasmus Moorats
549f752b6f [WIP] Initial commit 2018-06-27 22:37:45 +03:00