api

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallAPI

func CallAPI(client *Client, method string, path string, pathParams map[string]string, query Querier, reqBody interface{}, resBodyPtr interface{}) error

Types

type Client

type Client struct {
	BaseURL    string
	Authorizer infobip.Authorizer
	HTTPClient *http.Client
}

type Querier

type Querier interface {
	Query() url.Values
}

type QuerierFunc

type QuerierFunc func() url.Values

func (QuerierFunc) Query

func (q QuerierFunc) Query() url.Values

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL