Documentation ¶
Index ¶
- Constants
- func HandleTemplate(w http.ResponseWriter, r *http.Request, templateFile string)
- func InitializeCompanyEndpoints()
- func InitializeJobsEndpoints()
- func InitializeNotesEndpoints()
- func RegisterHttpHandler(uri, httpMethod string, ...)
- func ReturnJson(w http.ResponseWriter, response interface{})
- func ReturnJsonSuccess(w http.ResponseWriter)
- func StartWebServer(newMysql *persist.MysqlPbStockResearcher, newNoteManager *notes.NoteManager, ...)
- func WebError(w http.ResponseWriter, err string)
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.
Click to show internal directories.
Click to hide internal directories.