Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Bebbolus/gostron
/ functions
Functions
13 in github.com/Bebbolus/gostron
⨍
Functions
13
◇
Types & classes
8
↓ 8 callers
Function
kill
* HELPER FUNCTIONS */ kill function print the message and then exit
main.go:71
↓ 2 callers
Function
ReadFromJSON
ReadFromJSON function load a json file into a struct or return error
main.go:85
↓ 2 callers
Function
must
must function check if there is an error
main.go:77
↓ 1 callers
Function
Chain
Chain function concatenate the middlewares (typed as Gate function)
main.go:62
↓ 1 callers
Method
Pass
(args string)
main.go:55
Method
Fire
(w http.ResponseWriter, r *http.Request)
main.go:48
Method
Fire
(w http.ResponseWriter, r *http.Request)
plugins/controllers/general.go:10
Method
Fire
(w http.ResponseWriter, r *http.Request)
plugins/controllers/templates.go:10
Method
Pass
* Method middleware ensures that url can only be requested with a specific method, else returns a 400 Bad Request */
plugins/middlewares/method.go:14
Function
TestBadPath
(t *testing.T)
main_test.go:47
Function
TestFirstController
(t *testing.T)
main_test.go:11
Function
TestWrongMethod
(t *testing.T)
main_test.go:70
Function
main
start point
main.go:101