responses

package
v0.0.17 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SendError

func SendError(w http.ResponseWriter, statusCode int, code, message string)

SendError sends an error response

func SendSuccess

func SendSuccess(w http.ResponseWriter, statusCode int, data interface{})

SendSuccess sends a success response with data

Types

This section is empty.

Jump to

Keyboard shortcuts

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