mirror of
https://github.com/navidrome/navidrome.git
synced 2026-03-04 06:35:52 +00:00
15 lines
377 B
Go
15 lines
377 B
Go
package plugins
|
|
|
|
// CapabilityHTTPEndpoint indicates the plugin can handle incoming HTTP requests.
|
|
// Detected when the plugin exports the nd_http_handle_request function.
|
|
const CapabilityHTTPEndpoint Capability = "HTTPEndpoint"
|
|
|
|
const FuncHTTPHandleRequest = "nd_http_handle_request"
|
|
|
|
func init() {
|
|
registerCapability(
|
|
CapabilityHTTPEndpoint,
|
|
FuncHTTPHandleRequest,
|
|
)
|
|
}
|