handlers

package
v0.0.0-...-9d6904d Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2015 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (
	GET  = "GET"
	POST = "POST"
)

Variables

This section is empty.

Functions

func Cx2CyjsHandler

func Cx2CyjsHandler(w http.ResponseWriter, r *http.Request)

func Cx2SifHandler

func Cx2SifHandler(w http.ResponseWriter, r *http.Request)

func StartServer

func StartServer(port int) error

func StatusHandler

func StatusHandler(w http.ResponseWriter, r *http.Request)

Types

type ErrorMessage

type ErrorMessage struct {
	Code    int    `json:"code"`
	Message string `json:"message"`
	Error   string `json:"error,omitempty"`
}

type Status

type Status struct {
	Name        string `json:"name"`
	Version     string `json:"version"`
	Description string `json:"description"`
	Documents   string `json:"documents"`
}

Jump to

Keyboard shortcuts

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