Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultRemoteAddr = origin_httptest.DefaultRemoteAddr
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResponseRecorder ¶
type ResponseRecorder = origin_httptest.ResponseRecorder
func NewRecorder ¶
func NewRecorder() *ResponseRecorder
type Server ¶
type Server struct { URL string Listener net.Listener EnableHTTP2 bool TLS *tls.Config Config *http.Server // contains filtered or unexported fields }
func NewTLSServer ¶
func NewUnstartedServer ¶
func (*Server) Certificate ¶
func (s *Server) Certificate() *x509.Certificate
func (*Server) CloseClientConnections ¶
func (s *Server) CloseClientConnections()
Click to show internal directories.
Click to hide internal directories.