UI: implement SetAuth/GenerateAuth handlers for changing credentials.

This commit is contained in:
Krishna Srinivas
2016-03-21 23:45:08 +05:30
parent 186998ad99
commit 5201905ad0
3 changed files with 88 additions and 18 deletions
-6
View File
@@ -35,12 +35,6 @@ type webAPI struct {
FSPath string
// Minio client instance.
Client *minio.Client
// private params.
apiAddress string // api destination address.
// credential kept to be used internally.
accessKeyID string
secretAccessKey string
}
// indexHandler - Handler to serve index.html