add api action

This commit is contained in:
Jay 2019-01-09 14:01:13 +08:00
parent 5c997f554b
commit 2d18bb2eec

19
modules/apiact/apiact.go Normal file
View File

@ -0,0 +1,19 @@
package apiact
import (
"io"
"net/http"
)
// RequestObject -
type RequestObject struct {
Method string
URL string
Body io.Reader
Headers map[string]string
}
// GetRequest -
func GetRequest(r RequestObject) (req *http.Request, err error) {
return
}