{"modulePath":"github.com/GoCodeAlone/workflow","version":"v0.1.7","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package admin\n\nPackage admin provides the built-in workflow admin UI configuration. When enabled via the --admin flag, the admin modules and routes are merged into the primary workflow engine, adding an authenticated management interface on a separate port (:8081 by default).\n\nThe admin UI dogfoods the workflow engine: it uses the engine's own modules (http.server, http.router, auth.jwt, http.handler, static.fileserver) configured via an embedded YAML config.\n\n## Functions\n\n```go\nfunc LoadConfig() (*config.WorkflowConfig, error)\n```\nLoadConfig parses the embedded admin config and returns it.\n\n```go\nfunc LoadConfigRaw() ([]byte, error)\n```\nLoadConfigRaw returns the raw embedded admin config YAML bytes.\n\n```go\nfunc MergeInto(primary *config.WorkflowConfig, admin *config.WorkflowConfig)\n```\nMergeInto merges admin modules and workflows into the primary config. Admin modules are appended to the primary module list. Admin workflows use a separate key (\"http-admin\") so they don't conflict with the primary HTTP workflow — each gets its own router and server.\n\n","path":"github.com/GoCodeAlone/workflow/admin","name":"admin","synopsis":"Package admin provides the built-in workflow admin UI configuration.","isRedistributable":true}
