api

package
v0.0.0-...-b37d542 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewErrorResponse

func NewErrorResponse(status int, err error) render.Renderer

Types

type AppErrString

type AppErrString string

type ErrorResponse

type ErrorResponse struct {
	HttpStatusCode int    `json:"-"`
	Err            error  `json:"-"`
	Msg            string `json:"msg"`
}

func (*ErrorResponse) Render

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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