common

package
v0.0.0-...-7fdc067 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2019 License: BSD-2-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GConfig config

GConfig global configuration

View Source
var Log *logging.Logger

Log the app logger

Functions

func ReadJSONRequest

func ReadJSONRequest(payload io.ReadCloser, decodedPayload interface{}) bool

ReadJSONRequest Helper to decode a json payload

Types

type ErrorResponse

type ErrorResponse struct {
	// in: body
	Body struct {
		// required: true
		Message string `json:"message,required"`
	}
}

ErrorResponse standard error response swagger:response errorResponse

Jump to

Keyboard shortcuts

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