webservice

package
v0.0.0-...-613ebed Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRouter

func GetRouter() *mux.Router

func SendError

func SendError(w http.ResponseWriter, statusCode int, message string)

func SendOjectResponse

func SendOjectResponse(w http.ResponseWriter, response interface{})

func SendResponse

func SendResponse(w http.ResponseWriter, message string)

func SendRootResponse

func SendRootResponse(w http.ResponseWriter)

Types

type Request

type Request struct {
	State string `json:"state"`
}

Jump to

Keyboard shortcuts

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