Help us shape the future of Go! Take the 2026 Go Developer Survey

web

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2026 License: MIT Imports: 6 Imported by: 0

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 GetFile

func GetFile(filepath string) ([]byte, error)

GetFile serves a specific file from the embedded filesystem

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL