mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
26 lines
649 B
Go
26 lines
649 B
Go
package types
|
|
|
|
type BrowserPolicyType string
|
|
|
|
const (
|
|
ChromiumBrowserPolicy BrowserPolicyType = "chromium"
|
|
FirefoxBrowserPolicy BrowserPolicyType = "friefox"
|
|
)
|
|
|
|
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"`
|
|
}
|