KB methods

master
Leonardo Domingues 2021-12-03 15:54:05 -03:00
parent 126ef1e289
commit 7771f50e1b
1 changed files with 5 additions and 0 deletions

View File

@ -208,6 +208,11 @@ func (c *Cli) KBType(t string) (map[string]interface{}, error) {
return ret, err
}
func (c *Cli) KBToggle(str string) error {
err := c.HttpCli().JsonGet("/ipc/wingui/kb/toggle?str="+str, nil)
return err
}
/***************** Display Functions *****************/
func (c *Cli) DisplayRes() (*DEVMODE, error) {