# docker-reg-client
[![Build Status](https://api.shippable.com/projects/54dbd9785ab6cc13528ba2e0/badge?branchName=master)](https://app.shippable.com/projects/54dbd9785ab6cc13528ba2e0/builds/latest)

docker-reg-client is an API wrapper for the Docker Registry v1 API written in Go.

# docker-reg-client
[![Build Status](https://api.shippable.com/projects/54dbd9785ab6cc13528ba2e0/badge?branchName=master)](https://app.shippable.com/projects/54dbd9785ab6cc13528ba2e0/builds/latest)
[![GoDoc](http://godoc.org/github.com/CenturyLinkLabs/docker-reg-client/registry?status.png)](http://godoc.org/github.com/CenturyLinkLabs/docker-reg-client/registry)

docker-reg-client is an API wrapper for the [Docker Registry v1 API](https://docs.docker.com/reference/api/registry_api/) written in Go.

For detailed documentation, see the [GoDocs](http://godoc.org/github.com/CenturyLinkLabs/docker-reg-client/registry).

## Example

    package main

    import (
      "fmt"
      "github.com/CenturyLinkLabs/docker-reg-client/registry"
    )

    func main() {
      c := registry.NewClient()

      auth, err := c.Hub.GetReadToken("ubuntu")
      if err != nil {
        panic(err)
      }

      tags, err := c.Repository.ListTags("ubuntu", auth)
      if err != nil {
        panic(err)
      }

      fmt.Printf("%#v", tags)
    }

Update readme with example usage
Update readme with example usage
