implemented critical features in Restful Golang API which'll handle Neo4j interactions.
This commit is contained in:
@@ -24,6 +24,7 @@ func ServeApi(
|
||||
for i := range endpoints {
|
||||
apiR.HandleFunc(endpoints[i], functions[i]).Methods(methods[i])
|
||||
}
|
||||
apiR.Use(auth_middleware)
|
||||
|
||||
apiSrv := &http.Server{
|
||||
Addr: "0.0.0.0:" + port,
|
||||
|
||||
Reference in New Issue
Block a user