MCPcopy Create free account
hub / github.com/devfeel/dotweb / InitRoute

Function InitRoute

example/bind/main.go:99–103  ·  view source on GitHub ↗
(server *dotweb.HttpServer)

Source from the content-addressed store, hash-verified

97}
98
99func InitRoute(server *dotweb.HttpServer) {
100 server.Router().POST("/", TestBind)
101 server.Router().GET("/getbind", GetBind)
102 server.Router().POST("/jsonbind", PostJsonBind)
103}
104
105type userBinder struct {
106}

Callers 1

mainFunction · 0.70

Calls 3

RouterMethod · 0.80
POSTMethod · 0.65
GETMethod · 0.65

Tested by

no test coverage detected