/mailcowgo

Go client package for the mailcow API

Primary LanguageGoMIT LicenseMIT

Mailcow API client package for Go

PkgGoDev Codacy Badge codecov test

This repository contains a Go package for accessing the Mailcow API.

Installation

Install using go get:

go get go.bnck.me/mailcow

Usage

Import the lib as usual

import "go.bnck.me/mailcow"

Create a new client without options:

mailcowClient, err := mailcow.New("https://my.awesome.email", "api key")

The client now offers more specific sub-clients, for example for managing domains or mailboxes. For more information have a look at the documentation.