Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunHTTPS ¶
func RunHTTPS(ctx context.Context, conf Config, tlsOpts TLSOptions, opts RunOptions) error
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 RunOptions ¶
type TLSOptions ¶
Click to show internal directories.
Click to hide internal directories.