mirror of
https://github.com/ProtonMail/go-proton-api.git
synced 2025-12-23 23:57:50 -05:00
9e3bd79a8beb2dd755eae07894ca561d77d6f680
NetError is an error type returned when no response was received from the API. This allows callers to determine whether their call failed due to a network level error. Additionally, proton.APIError now has Status to see what the status code was in the response that triggered the error.
Go Proton API
This repository holds Go Proton API, a Go library implementing a client and development server for (a subset of) the Proton REST API.
The license can be found in the LICENSE file.
For the contribution policy, see CONTRIBUTING.
Environment variables
Most of the integration tests run locally. The ones that interact with Proton servers require the following environment variables set:
GO_PROTON_API_TEST_USERNAMEGO_PROTON_API_TEST_PASSWORD
Contribution
The library is maintained by Proton AG, and is not actively looking for contributors.
Languages
Go
99.4%
Shell
0.6%