mux Questions
1
Solved
I can access GET parameters using mux:
import (
"github.com/gorilla/mux"
)
func main(){
rtr := mux.NewRouter()
rtr.HandleFunc("/logon", logonGet).Methods("GET")
}
func logonGet(w http.ResponseW...
1
Solved
In a go program, I want to run two web servers at the same time,
obviously they will be serving on two different ports (and ip addresses if necessary),
the problem is with the call to http.handle, ...
2
Solved
My directory structure looks like this:
myapp/
|
+-- moduleX
| |
| +-- views.go
|
+-- start.go
The app gets started with start.go and from there I configure all the routes and import the handler...
1
1
Solved
I would like to capture video, compress it and mux it as an mpeg2 ts. All of this is quite simple with the ffmpeg libraries, but what I would like to do, instead of writing it to a file, is capture...
Northbound asked 14/5, 2012 at 8:20
© 2022 - 2024 — McMap. All rights reserved.