api

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintErrorResponse

func PrintErrorResponse(err error)

Print an API error response

func PrintResponse

func PrintResponse(response interface{}, responseError error)

Print an API response response must be a pointer to a struct type with Error and Status string fields

Types

This section is empty.

Jump to

Keyboard shortcuts

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