mirror of
https://github.com/yusing/godoxy.git
synced 2025-05-19 20:32:35 +02:00
15 lines
268 B
Go
15 lines
268 B
Go
package loadbalancer
|
|
|
|
import "net/http"
|
|
|
|
type DummyResponseWriter struct{}
|
|
|
|
func (w *DummyResponseWriter) Header() (_ http.Header) {
|
|
return
|
|
}
|
|
|
|
func (w *DummyResponseWriter) Write([]byte) (_ int, _ error) {
|
|
return
|
|
}
|
|
|
|
func (w *DummyResponseWriter) WriteHeader(int) {}
|