{"modulePath":"github.com/sim2github/micro","version":"v0.20.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package web\n\nPackage web is a web dashboard\n\n## Variables\n\n```go\nvar (\n\n\t// Default server name\n\tName = \"go.micro.web\"\n\t// Default address to bind to\n\tAddress = \":8082\"\n\t// The namespace to serve\n\t// Example:\n\t// Namespace + /[Service]/foo/bar\n\t// Host: Namespace.Service Endpoint: /foo/bar\n\tNamespace = \"go.micro.web\"\n\t// Base path sent to web service.\n\t// This is stripped from the request path\n\t// Allows the web service to define absolute paths\n\tBasePathHeader = \"X-Micro-Web-Base-Path\"\n\t// CORS specifies the hosts to allow for CORS\n\tCORS = map[string]bool{\"*\": true}\n)\n```\n\n## Functions\n\n```go\nfunc Commands() []cli.Command\n```\n\n```go\nfunc Plugins() []plugin.Plugin\n```\nPlugins lists the web plugins\n\n```go\nfunc Register(pl plugin.Plugin) error\n```\nRegister registers an web plugin\n\n","path":"github.com/sim2github/micro/web","name":"web","synopsis":"Package web is a web dashboard","isRedistributable":true}
