Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHandler ¶
type FakeHandler struct {
// if non-zero, forces this status code for all responses.
StatusCode int
}
func (FakeHandler) ServeHTTP ¶
func (h FakeHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) ListenAndServe ¶
func (*Server) ListenAndServeTLS ¶
func (*Server) SetTLSConfig ¶
Click to show internal directories.
Click to hide internal directories.