api

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2026 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const ImportPath = "github.com/cssbruno/gowdk/addons/api"

ImportPath is the canonical Go import path for the API addon.

Variables

This section is empty.

Functions

func Addon

func Addon() gowdk.Addon

Addon enables generated API handlers.

Types

type Handler

type Handler func(http.ResponseWriter, *http.Request)

Handler is a generated API endpoint.

type Registry

type Registry map[string]Handler

Registry maps generated API handler names to handlers.

Jump to

Keyboard shortcuts

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