go-common/app/admin/main/cache/model/opscache.go

21 lines
424 B
Go
Raw Normal View History

2019-04-22 10:49:16 +00:00
package model
// OpsCacheMemcache ops cache mc
type OpsCacheMemcache struct {
Labels struct {
Name string `json:"name"`
Project string `json:"project"`
}
Targets []string `json:"targets"`
}
// OpsCacheRedis ops cache redis
type OpsCacheRedis struct {
Labels struct {
Name string `json:"name"`
Project string `json:"project"`
}
Type string `json:"type"`
Targets []string `json:"master_targets"`
}