forwardproxy.go 274 B

12345678910111213141516171819
  1. package forwardproxy
  2. import (
  3. "net/http"
  4. "imuslab.com/zoraxy/mod/auth"
  5. )
  6. type ZrFilter struct {
  7. auth *auth.AuthAgent
  8. }
  9. type Handler struct {
  10. Port int
  11. }
  12. func (it ZrFilter) IsAuthorized(w http.ResponseWriter, r *http.Request) bool {
  13. return true
  14. }