diff --git a/drip.go b/drip.go index 5f668c7..6a3739b 100644 --- a/drip.go +++ b/drip.go @@ -53,6 +53,10 @@ func (d *Drip) StartTLS(listenAddr, certFile, keyFile string) error { return http.ListenAndServeTLS(listenAddr, certFile, keyFile, d.router) } +func (d *Drip) Router() *httprouter.Router { + return d.router +} + func (d *Drip) SetErrorHandler(errorHandler ErrorHandler) { d.errorHandler = errorHandler }