Move registry package into handler package

The goal is to free up the distribution/registry package to include common
registry types. This moves the webapp definitions out of the way to allow for
this change in the future.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2015-02-10 17:25:40 -08:00
parent 4364cec50f
commit 54ae545ed3
14 changed files with 16 additions and 13 deletions

3
docs/doc.go Normal file
View file

@ -0,0 +1,3 @@
// Package registry is a placeholder package for registry interface
// destinations and utilities.
package registry

View file

@ -1,4 +1,4 @@
package registry package handlers
import ( import (
"bytes" "bytes"

View file

@ -1,4 +1,4 @@
package registry package handlers
import ( import (
"fmt" "fmt"

View file

@ -1,4 +1,4 @@
package registry package handlers
import ( import (
"encoding/json" "encoding/json"

View file

@ -1,6 +1,6 @@
// +build go1.4 // +build go1.4
package registry package handlers
import ( import (
"net/http" "net/http"

View file

@ -1,6 +1,6 @@
// +build !go1.4 // +build !go1.4
package registry package handlers
import ( import (
"encoding/base64" "encoding/base64"

View file

@ -1,4 +1,4 @@
package registry package handlers
import ( import (
"fmt" "fmt"

View file

@ -1,4 +1,4 @@
package registry package handlers
import ( import (
"encoding/json" "encoding/json"

View file

@ -1,4 +1,4 @@
package registry package handlers
import ( import (
"crypto/hmac" "crypto/hmac"

View file

@ -1,4 +1,4 @@
package registry package handlers
import "testing" import "testing"

View file

@ -1,4 +1,4 @@
package registry package handlers
import ( import (
"encoding/json" "encoding/json"

View file

@ -1,4 +1,4 @@
package registry package handlers
import ( import (
"net/http" "net/http"

View file

@ -1,4 +1,4 @@
package registry package handlers
import ( import (
"fmt" "fmt"

View file

@ -1,4 +1,4 @@
package registry package handlers
import ( import (
"encoding/json" "encoding/json"