httpmodel

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2019 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMessageInternalServerError = "internal server error"
View Source
var ErrMessageUnauthorized = "unauthorized"
View Source
var ErrResponseInternalServerError = []byte(`{"error": {"message": "internal server error"}}`)
View Source
var ErrResponseUnauthorized = []byte(`{"error": {"message": "unauthorized"}}`)

Functions

This section is empty.

Types

type ErrorResponse

type ErrorResponse struct {
	Error struct {
		Message string `json:"message"`
	} `json:"error"`
}

Jump to

Keyboard shortcuts

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