grim/port-authority

Start of moving this to a go http client
draft default tip
2020-04-27, Gary Kramlich
dfcf60f69754
Start of moving this to a go http client
# Port Authority
Port Authority is a simple golang http client that handles all of the
authentication involved when interacting with a container registry. This means
it's a dumb client and it's up to you, the user to know the API endpoints you
want to hit. At some point in the future this may change, but for now it only
handles authentication
# Usage
```go
import (
"fmt"
pa "bitbucket.org/rw_grim/port-authority"
)
func main() {
client := pa.NewClient()
client.AddRegistry("index.docker.io", "username", "password")
resp, _ := client.Get("/v2/username/foo/tags")
fmt.Printf("%#v\n", resp)
}
```