forked from TrueCloudLab/distribution
Round 3 - Add Register function
Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
parent
00b1e8fca0
commit
b8b16b78f4
7 changed files with 187 additions and 251 deletions
|
@ -2,9 +2,10 @@ package handlers
|
|||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/docker/distribution/registry/api/errcode"
|
||||
"io"
|
||||
"net/http"
|
||||
|
||||
"github.com/docker/distribution/registry/api/errcode"
|
||||
)
|
||||
|
||||
// serveJSON marshals v and sets the content-type header to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue