Documentation ¶
Overview ¶
Package web is a web dashboard and reverse proxy for micro web apps.
Web apps can be built as micro services and are treated as first class citizens in the Micro world. The web proxy acts much like the API proxy and also supports web sockets.
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 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.