Files
neko-rooms/internal/types/policies.go
T
Miroslav Šedivý fe29e2c221 fix typos.
2021-07-27 20:40:36 +02:00

26 lines
649 B
Go

package types
type BrowserPolicyType string
const (
ChromiumBrowserPolicy BrowserPolicyType = "chromium"
FirefoxBrowserPolicy BrowserPolicyType = "firefox"
)
type BrowserPolicy struct {
Type BrowserPolicyType `json:"type"`
Path string `json:"path"`
Content BrowserPolicyContent `json:"content"`
}
type BrowserPolicyContent struct {
Extensions []BrowserPolicyExtension `json:"extensions"`
DeveloperTools bool `json:"developer_tools"`
PersistentData bool `json:"persistent_data"`
}
type BrowserPolicyExtension struct {
ID string `json:"id"`
URL string `json:"url"`
}