kubernetes/vendor/go.etcd.io/etcd/server/v3/etcdserver/api/v2http/http.go

const defaultWatchTimeout

func writeError(lg *zap.Logger, w http.ResponseWriter, r *http.Request, err error) {}

// allowMethod verifies that the given method is one of the allowed methods,
// and if not, it writes an error to w.  A boolean is returned indicating
// whether or not the method is allowed.
func allowMethod(w http.ResponseWriter, m string, ms ...string) bool {}

func requestLogger(lg *zap.Logger, handler http.Handler) http.Handler {}