aghhttp

package
v0.107.1 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2021 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package aghhttp provides some common methods to work with HTTP.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(r *http.Request, w http.ResponseWriter, code int, format string, args ...interface{})

Error writes formatted message to w and also logs it.

func OK

func OK(w http.ResponseWriter)

OK responds with word OK.

Types

This section is empty.

Jump to

Keyboard shortcuts

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