Versions in this module Expand all Collapse all v3 v3.4.10 Aug 29, 2022 v3.4.8 Aug 29, 2022 Changes in this version + var ErrNotImplemented = errors.New("function not implemented") + func CheckResponseCode(inError error) (int, error) + func FiltersToString(filters map[string][]string) (string, error) + func JoinURL(elements ...string) string + func NewConnection(ctx context.Context, uri string) (context.Context, error) + func NewConnectionWithIdentity(ctx context.Context, uri string, identity string) (context.Context, error) + type APIResponse struct + Request *http.Request + func (h *APIResponse) IsClientError() bool + func (h *APIResponse) IsConflictError() bool + func (h *APIResponse) IsInformational() bool + func (h *APIResponse) IsRedirection() bool + func (h *APIResponse) IsServerError() bool + func (h *APIResponse) IsSuccess() bool + func (h APIResponse) Process(unmarshalInto interface{}) error + func (h APIResponse) ProcessWithError(unmarshalInto interface{}, unmarshalErrorInto interface{}) error + type Connection struct + Client *http.Client + URI *url.URL + func GetClient(ctx context.Context) (*Connection, error) + func (c *Connection) DoRequest(httpBody io.Reader, httpMethod, endpoint string, queryParams url.Values, ...) (*APIResponse, error)