Add: config hub route

This commit is contained in:
Dreamacro
2018-06-20 22:41:02 +08:00
parent c2c8f82f96
commit 05ab653103
9 changed files with 115 additions and 4 deletions

View File

@ -38,6 +38,10 @@ func (g *GEOIP) Adapter() string {
return g.adapter
}
func (g *GEOIP) Payload() string {
return g.country
}
func NewGEOIP(country string, adapter string) *GEOIP {
return &GEOIP{
country: country,