service

package
v0.0.0-...-e556726 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ERROR      = 500
	JSONEMPTY  = "JSON cannot be empty"
	NAMEEMPEY  = "NAME cannot be empty"
	PARSEERROR = "Parse Error"
)

Variables

This section is empty.

Functions

func GenerateAPI

func GenerateAPI(w http.ResponseWriter, r *http.Request, p httprouter.Params)

func Ping

Types

type GoStruct

type GoStruct struct {
	Data string `json:"data"`
}

type JsonString

type JsonString struct {
	Name  string `json:"name"`
	Jsons string `json:"json"`
}

Jump to

Keyboard shortcuts

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