Add ListenAndServe for transparent proxy support
Aperta
- Lingua principale
- Go
- Stelle
- 290
- Fork
- 31
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Instead of:
```go
if os.Getenv("LAMBDA_FUNCTION_NAME") == "" {
log.Fatal(http.ListenAndServe(":5555", h))
} else {
apex.Handle(proxy.Serve(h))
}
```
Just do:
```go
log.Fatal(apex.ListenAndServe(":5555", h))
```
and let this pkg handle that
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.