19 lines
358 B
Go
19 lines
358 B
Go
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
|
|
}
|