Beispiel #1
0
func GetPAC(w rest.ResponseWriter, r *rest.Request) {
	lg.V(19).Infoln("api /pac/ endpoint called")
	w.Header().Set("Content-Type", "application/octet-stream")
	w.(http.ResponseWriter).Write(pac.GenPAC())
}
Beispiel #2
0
func GetPAC(w rest.ResponseWriter, r *rest.Request) {
	w.Header().Set("Content-Type", "application/octet-stream")
	w.(http.ResponseWriter).Write(pac.GenPAC())
}