Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPSService ¶
func NewHTTPSService(conf Config, tlsOpts TLSOptions) service.Service
func NewHTTPService ¶
Types ¶
type FakeHandler ¶
type FakeHandler struct {
// if non-zero, forces this status code for all responses.
StatusCode int
Logger *slog.Logger
}
func (FakeHandler) ServeHTTP ¶
func (h FakeHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
type TLSOptions ¶
Click to show internal directories.
Click to hide internal directories.