Discover Packages
github.com/Jungley8/led
internal
api
package
Version:
v0.1.1
Opens a new window with list of versions in this module.
Published: Jun 26, 2026
License: MIT
Opens a new window with license information.
Imports: 32
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package api implements led's JSON HTTP API.
Handler bundles dependencies shared by all API endpoints.
func (*Handler) Routes ¶
Routes returns the API mux mounted at /api/. It returns the concrete
*http.ServeMux (not http.Handler) so plugins can mount additional /api/...
routes onto the same mux before it is served.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.