Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type HttpTransporter ¶ added in v0.0.2
type HttpTransporter struct {
// contains filtered or unexported fields
}
func (HttpTransporter) ExecuteWithToken ¶ added in v0.0.2
type IHttpTransporter ¶
type IHttpTransporter interface {
Execute(ctx context.Context, method, route string, payload interface{}) (resp *Response, err error)
ExecuteWithToken(ctx context.Context, method, route, token string, payload interface{}) (resp *Response, err error)
}
func NewHTTPTransporter ¶
func NewHTTPTransporter(client *http.Client, uid, url string) IHttpTransporter
Click to show internal directories.
Click to hide internal directories.