/go-defaultcertifi

Automatic certificate bundler for http.DefaultTransport.

Primary LanguageGoMIT LicenseMIT

go-defaultcertifi

ci codecov Go Report Card

Description

Automatic certificate bundler for http.DefaultTransport.

Intercepts the TLS config of http.DefaultTransport so helps you make HTTPS requests in any environment with a single binary without installing ca-certificates etc.

You don't have to add certificates into image in Dockerfile such as apk add --no-cache ca-certificates for making HTTPS Requests.

Usage

import (
  _ "github.com/johejo/go-defaultcertifi/http"
)

License

MIT

Author

@johejo