Documentation ¶
Overview ¶
Package web is a web dashboard and reverse proxy for micro web apps
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Default server name Name = "go.micro.web" // Default address to bind to Address = ":8082" // The namespace to serve // Example: // Namespace + /[Service]/foo/bar // Host: Namespace.Service Endpoint: /foo/bar Namespace = "go.micro.web" // Base path sent to web service. // This is stripped from the request path // Allows the web service to define absolute paths BasePathHeader = "X-Micro-Web-Base-Path" // CORS specifies the hosts to allow for CORS CORS = map[string]bool{"*": true} )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.