Add config & docker deployment
This commit is contained in:
@@ -37,6 +37,8 @@ type Peer struct {
|
||||
}
|
||||
|
||||
func init() {
|
||||
c := GetConfig()
|
||||
Store = Storage{c.ZincUrl, c.ZincLogin, c.ZincPassword, c.RedisUrl, c.RedisPassword}
|
||||
Store = Storage{"http://localhost:4080", "admin", "admin", "localhost:6379", ""}
|
||||
//p := Peer{uuid.New().String(), 0, []string{"car", "highway", "images", "video"}, time.Now(), "1", "asf", ""}
|
||||
// pa := []Peer{p}
|
||||
|
||||
Reference in New Issue
Block a user