internal

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JsonStatusBadRequest          = `{"code":400,"message":"Bad Request"}`
	JsonStatusForbidden           = `{"code":403,"message":"Forbidden"}`
	JsonStatusNotFound            = `{"code":404,"message":"Not Found"}`
	JsonStatusMethodNotAllowed    = `{"code":405,"message":"Method Not Allowed"}`
	JsonStatusConflict            = `{"code":409,"message":"Conflict"}`
	JsonStatusInternalServerError = `{"code":500,"message":"Internal Server Error"}`
)

JSON formatted HTTP error messages

Variables

This section is empty.

Functions

func GenerateRandomKey

func GenerateRandomKey(bytes int) string

func SingleJoiningSlash

func SingleJoiningSlash(a, b string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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