Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server is an extension of httptest.Server that uses our own CA
func NewServer ¶
NewServer is a passthrough wrapper for httptest.NewServer. It does not use the CA at all. This provided only for debugging purposes.
func NewTLSServer ¶
NewTLSServer Wraps httptest.NewTLSServer, injecting our CA and TLS config
Click to show internal directories.
Click to hide internal directories.