Documentation
¶
Overview ¶
Package web provides HTTP handlers for the Mandau web dashboard
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Handler ¶
func Handler(c CoreInterface, authMW *auth.Middleware) http.Handler
Handler returns an HTTP handler that serves the web dashboard and REST API
func ServeMux ¶
func ServeMux(c CoreInterface, authMW *auth.Middleware) *http.ServeMux
ServeMux returns a configured ServeMux for embedding in existing servers
Types ¶
type CoreInterface ¶
type CoreInterface interface {
api.CoreInterface
}
CoreInterface defines the interface for core operations
Click to show internal directories.
Click to hide internal directories.