frontend: Make Control Server nicer
This commit is contained in:
parent
c258b46443
commit
36891d7e7c
16 changed files with 231 additions and 170 deletions
|
|
@ -28,6 +28,9 @@ var socketInstanceActions = map[string]instanceActionFunc{
|
|||
"update": func(_ *Info, instance instances.WissKI, str stream.IOStream) error {
|
||||
return instance.BlindUpdate(str)
|
||||
},
|
||||
"cron": func(_ *Info, instance instances.WissKI, str stream.IOStream) error {
|
||||
return instance.Cron(str)
|
||||
},
|
||||
}
|
||||
|
||||
func (info *Info) serveSocket(conn httpx.WebSocketConnection) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue