Add Donut rpc service for sending changes to configuration files

This commit is contained in:
Harshavardhana
2015-07-06 10:35:23 -07:00
parent 57d634da25
commit 1d64e4b6c1
7 changed files with 67 additions and 13 deletions

View File

@@ -32,7 +32,10 @@ type Minio struct {
// New instantiate a new minio API
func New() Minio {
// ignore errors for now
d, _ := donut.New()
d, err := donut.New()
if err != nil {
panic(err)
}
return Minio{
OP: make(chan Operation),
Donut: d,