httpserver

package
v0.8.31 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Overview

Package httpserver provides functionality common to all storetheindex HTTP servers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleError

func HandleError(w http.ResponseWriter, err error, reqType string)

func MethodOK added in v0.5.9

func MethodOK(w http.ResponseWriter, r *http.Request, method string) bool

func WriteJsonResponse

func WriteJsonResponse(w http.ResponseWriter, status int, body []byte)

Types

This section is empty.

Jump to

Keyboard shortcuts

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