mtgbot/modules/apiact/apiact.go

20 lines
266 B
Go
Raw Normal View History

2019-01-09 06:01:13 +00:00
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
}