https://github.com/jpbede/mailcowgo
Go client package for the mailcow API
https://github.com/jpbede/mailcowgo
go golang mailcow mailcow-dockerized
Last synced: about 1 year ago
JSON representation
Go client package for the mailcow API
- Host: GitHub
- URL: https://github.com/jpbede/mailcowgo
- Owner: jpbede
- License: mit
- Created: 2021-03-15T15:46:17.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-05-16T13:47:21.000Z (about 5 years ago)
- Last Synced: 2025-02-08T20:17:43.810Z (over 1 year ago)
- Topics: go, golang, mailcow, mailcow-dockerized
- Language: Go
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Mailcow API client package for Go
[](https://pkg.go.dev/go.bnck.me/mailcow)
[](https://www.codacy.com/gh/jpbede/mailcowgo/dashboard)
[](https://codecov.io/gh/jpbede/mailcowgo)

This repository contains a Go package for accessing the [Mailcow API](https://mailcow.docs.apiary.io/).
## Installation
Install using go get:
```shell
go get go.bnck.me/mailcow
```
## Usage
Import the lib as usual
```go
import "go.bnck.me/mailcow"
```
Create a new client without options:
```go
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](https://pkg.go.dev/github.com/jpbede/mailcowgo).