infobip

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package infobip provides a client library for interacting with the Infobip API. https://www.infobip.com/docs/api

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithHTTPClient

func WithHTTPClient(httpClient http.Client) func(*Client)

Types

type Client

type Client struct {
	WhatsApp whatsapp.WhatsApp
	MMS      mms.MMS
	Email    email.Email
	// contains filtered or unexported fields
}

Client is the entrypoint to all Infobip channels.

func NewClient

func NewClient(baseURL string, apiKey string, options ...func(*Client)) (Client, error)

NewClient returns a client object using the provided baseURL and apiKey. If a client is not provided using options, a default one is created.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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