mtgbot/modules/apiact/apiact.go
2019-01-09 14:01:13 +08:00

20 lines
266 B
Go

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
}