openvpn-mgt/dailymotion.go

24 lines
778 B
Go

package main
// list dailymotion servers
type DailymotionVPN struct {
}
func (s *DailymotionVPN) ServerList() (error, *map[string]string) {
VPNNames := map[string]string{
"Paris 1": "gate-01.dc3.dailymotion.com",
"New-York 1": "gate-01.nyc.dailymotion.com",
"Silicon Valley 1": "gate-01.sv6.dailymotion.com",
"Singapore 1": "gate-01.sg1.dailymotion.com",
"Tokyo 1": "gate-01.ty4.dailymotion.com",
"Paris 2": "gate-02.dc3.dailymotion.com",
"New-York 2": "gate-02.nyc.dailymotion.com",
"Silicon Valley 2": "gate-02.sv6.dailymotion.com",
"Singapore 2": "gate-02.sg1.dailymotion.com",
"Tokyo 2": "gate-02.ty4.dailymotion.com",
"default": "vpn.dailymotion.com",
}
return nil, &VPNNames
}