Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // 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 = map[string]bool{"*": true} )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.