resp

package
v0.0.0-...-177b763 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2016 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIResponse

type APIResponse struct {
	IsError bool        `json:"error"`
	Message string      `json:"message,omitempty"`
	Value   interface{} `json:"value,omitempty"`
}

APIResponse is the wrapper around all api responses. If there is an error, then a Message is sent. If there is no error, then Value is sent.

Jump to

Keyboard shortcuts

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