responses

package
v0.0.0-...-1fec092 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFailedToMarshalJson = errors.New("failed to marshal JSON")
View Source
var ErrFailedToWriteJson = errors.New("failed to write JSON")

Functions

func WriteJson

func WriteJson(w http.ResponseWriter, resp interface{}, statusCode int) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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