{"modulePath":"github.com/GoCodeAlone/workflow-plugin-cms","version":"v0.1.10","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package adminui\n\nPackage adminui provides separately rendered tenant editing and platform administration surfaces. The host must authorize each mount and tenant route.\n\n## Functions\n\n```go\nfunc Handler() http.Handler\n```\nHandler defaults to content editing. Platform controls require an explicit Platform mode mount; they are absent from the editor document entirely.\n\n```go\nfunc HandlerWithOptions(options Options) http.Handler\n```\n\n## Types\n\n```go\ntype Mode string\n```\n\n```go\nconst (\n\tEditor   Mode = \"editor\"\n\tPlatform Mode = \"platform\"\n)\n```\n\n```go\ntype Options struct {\n\tMode     Mode\n\tBasePath string\n}\n```\n\n```go\ntype Route struct {\n\tTenantID, PageID int64\n\tView             string\n\tSection          int\n\tNewPage          bool\n}\n```\nRoute is the canonical UI context, also used by the host's authorization gate.\n\n```go\nfunc ParseRoute(mode Mode, path string) (Route, bool)\n```\nParseRoute accepts only declared view routes. Numeric IDs must be canonical; assets and arbitrary suffixes are never interpreted as tenant views.\n\n","path":"github.com/GoCodeAlone/workflow-plugin-cms/adminui","name":"adminui","synopsis":"Package adminui provides separately rendered tenant editing and platform administration surfaces.","isRedistributable":true}
