web

package
v0.0.0-...-13330ff Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2015 License: BSD-2-Clause Imports: 15 Imported by: 1

Documentation

Index

Constants

View Source
const HttpMethodGet = "GET"
View Source
const HttpMethodPost = "POST"
View Source
const HttpMethodPut = "PUT"

Variables

This section is empty.

Functions

func HandleTemplate

func HandleTemplate(w http.ResponseWriter, r *http.Request, templateFile string)

func InitializeCompanyEndpoints

func InitializeCompanyEndpoints()

func InitializeJobsEndpoints

func InitializeJobsEndpoints()

func InitializeNotesEndpoints

func InitializeNotesEndpoints()

func RegisterHttpHandler

func RegisterHttpHandler(uri, httpMethod string, handlerFunc func(w http.ResponseWriter, r *http.Request))

func ReturnJson

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

func ReturnJsonSuccess

func ReturnJsonSuccess(w http.ResponseWriter)

func StartWebServer

func StartWebServer(newMysql *persist.MysqlPbStockResearcher,
	newNoteManager *notes.NoteManager,
	newNoteFilterManager *notes.NoteFilterManager,
	newTs *tmpStore.TempStore)

func WebError

func WebError(w http.ResponseWriter, err string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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