|
@@ -6,9 +6,9 @@ type Middleground struct {
|
|
|
PowerCheckCenter *powerCheckCenter
|
|
|
}
|
|
|
|
|
|
-func NewMiddleground(hosts []string, key string) *Middleground {
|
|
|
+func NewMiddleground(hosts []string) *Middleground {
|
|
|
return &Middleground{
|
|
|
- UserCenter: newUserCenter(hosts, key),
|
|
|
+ hosts: hosts,
|
|
|
}
|
|
|
}
|
|
|
func (m *Middleground) RegUserCenter(key string) *Middleground {
|