Compare commits
No commits in common. "main" and "v1.0.0" have entirely different histories.
4
drip.go
4
drip.go
@ -53,10 +53,6 @@ func (d *Drip) StartTLS(listenAddr, certFile, keyFile string) error {
|
|||||||
return http.ListenAndServeTLS(listenAddr, certFile, keyFile, d.router)
|
return http.ListenAndServeTLS(listenAddr, certFile, keyFile, d.router)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (d *Drip) Router() *httprouter.Router {
|
|
||||||
return d.router
|
|
||||||
}
|
|
||||||
|
|
||||||
func (d *Drip) SetErrorHandler(errorHandler ErrorHandler) {
|
func (d *Drip) SetErrorHandler(errorHandler ErrorHandler) {
|
||||||
d.errorHandler = errorHandler
|
d.errorHandler = errorHandler
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user