Documentation ¶ Index ¶ type Request func NewRequest() *Request func (req *Request) Send(config *medusa.Config) (*http.Response, error) func (req *Request) SetData(data any) *Request func (req *Request) SetMethod(method string) *Request func (req *Request) SetPath(path string) *Request Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Request ¶ type Request struct { Method string `json:"method"` Data any `json:"data"` Path string `json:"params"` } func NewRequest ¶ func NewRequest() *Request func (*Request) Send ¶ func (req *Request) Send(config *medusa.Config) (*http.Response, error) func (*Request) SetData ¶ func (req *Request) SetData(data any) *Request func (*Request) SetMethod ¶ func (req *Request) SetMethod(method string) *Request func (*Request) SetPath ¶ func (req *Request) SetPath(path string) *Request Source Files ¶ View all Source files request.go Click to show internal directories. Click to hide internal directories.