response

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildHeaders added in v0.1.7

func BuildHeaders(w http.ResponseWriter)

Exported function for CORS headers

func ErrorResponse

func ErrorResponse(w http.ResponseWriter, status int, message string)

func NotFoundResponse

func NotFoundResponse(w http.ResponseWriter, message string)

func SuccessResponse

func SuccessResponse(w http.ResponseWriter, status int, resp interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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