Skip to content
/ go-pia Public

Private Internet Access client and utilities in Go

License

Notifications You must be signed in to change notification settings

unmango/go-pia

Repository files navigation

go-pia

Utilities for programmatically interacting with Private Internet Access in Go.

Getting Started

To start using the package, run:

go get github.com/unmango/go-pia

Create a new client with:

c := pia.NewClient()
s, err := c.Servers(context.Background())

Disclaimer

This package is primarily based off of https://github.com/pia-foss/manual-connections. The utilities provided attempt to mimic (or directly use) the functionality of the shell scripts.

Eventually I would like this to be a more general purpose library for interacting with PIA. Currently I only need the functionality from https://github.com/pia-foss/manual-connections, so I haven't dug into how well documented their public APIs are.

Docker

The unstoppablemango/pia-manual-connections docker image contains the upstream repo for convenience in containerized workloads. The source repo for this image can be found here.

About

Private Internet Access client and utilities in Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages