19 lines
248 B
Go
19 lines
248 B
Go
|
|
package service
|
||
|
|
|
||
|
|
import (
|
||
|
|
"blazing/cool"
|
||
|
|
"blazing/modules/config/model"
|
||
|
|
)
|
||
|
|
|
||
|
|
type ServerService struct {
|
||
|
|
*cool.Service
|
||
|
|
}
|
||
|
|
|
||
|
|
func NewServerService() *ServerService {
|
||
|
|
return &ServerService{
|
||
|
|
&cool.Service{
|
||
|
|
Model: model.NewServerList(),
|
||
|
|
},
|
||
|
|
}
|
||
|
|
}
|