feat: implement caldav search
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
package http
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
// an HTTP response object
|
||||
type Response http.Response
|
||||
|
||||
// downcasts the response to the native HTTP interface
|
||||
func (r *Response) Native() *http.Response {
|
||||
return (*http.Response)(r)
|
||||
}
|
||||
|
||||
// creates a new HTTP response object
|
||||
func NewResponse(response *http.Response) *Response {
|
||||
return (*Response)(response)
|
||||
}
|
||||
Reference in New Issue
Block a user