Versions in this module Expand all Collapse all v1 v1.0.1 Nov 25, 2022 v1.0.0 Nov 25, 2022 Changes in this version + type Client struct + Log func(s string) + func NewClient(endpoint string, opts ...ClientOption) *Client + func (c *Client) Run(ctx context.Context, req *Request, resp interface{}) error + type ClientOption func(*Client) + func ImmediatelyCloseReqBody() ClientOption + func UseMultipartForm() ClientOption + func WithHTTPClient(httpclient *http.Client) ClientOption + type File struct + Field string + Name string + R io.Reader + type GraphErr struct + ErrorExtensions map[string]interface{} + Message string + func (e GraphErr) Error() string + func (e GraphErr) Extensions() map[string]interface{} + type Request struct + Header http.Header + func NewRequest(q string) *Request + func (req *Request) File(fieldname, filename string, r io.Reader) + func (req *Request) Files() []File + func (req *Request) Query() string + func (req *Request) Var(key string, value interface{}) + func (req *Request) Vars() map[string]interface{}