github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/net/http/dummy_test.go (about)

     1  package http_test
     2  
     3  import (
     4  	"net/http"
     5  )
     6  
     7  type dotFileHidingFileSystem struct{ any }
     8  
     9  func (fs dotFileHidingFileSystem) Open(name string) (http.File, error)
    10  
    11  type countHandler struct{}
    12  
    13  func (h *countHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
    14  
    15  type apiHandler struct{}
    16  
    17  func (h apiHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
    18  
    19  func newPeopleHandler() http.Handler
    20  
    21  type wantRange struct{ a, b int }
    22  
    23  const testFileLen = 100