通道的增删接口实现,数据表和目录结构调整
This commit is contained in:
18
web/services/node.go
Normal file
18
web/services/node.go
Normal file
@@ -0,0 +1,18 @@
|
||||
package services
|
||||
|
||||
import "platform/web/models"
|
||||
|
||||
var Node = &nodeService{}
|
||||
|
||||
type nodeService struct{}
|
||||
|
||||
func (s *nodeService) Filter(userId int32, proto ChannelProtocol, count int, config ...NodeFilterConfig) ([]*models.Node, error) {
|
||||
|
||||
return make([]*models.Node, 0), nil
|
||||
}
|
||||
|
||||
type NodeFilterConfig struct {
|
||||
province string
|
||||
city string
|
||||
provider string
|
||||
}
|
||||
Reference in New Issue
Block a user