Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Code string `yaml:"code" json:"code"` Name string `yaml:"name" json:"name"` Server string `yaml:"server" json:"server"` Enable bool `yaml:"enable" json:"enable"` }
Config represent Config
type Covid19 ¶
type Covid19 struct { Server string CountryGeometry c19data.CountryGeometry // contains filtered or unexported fields }
Covid19 Client SDK
func NewCovid19 ¶
NewCovid19 new Covid19 Client SDK
func (*Covid19) GetCountry ¶
func (c *Covid19) GetCountry(req *c19type.GetCountryRequest) (*c19type.GetCountryResponse, error)
GetCountry get GetCountry.json
func (*Covid19) GetCountryByRegion ¶
func (c *Covid19) GetCountryByRegion(whoRegion string, countryCode string) (*c19type.GetCountryResponse, error)
GetCountryByRegion get GetCountryByRegion
Click to show internal directories.
Click to hide internal directories.