Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseCovid19Adapter ¶
type BaseCovid19Adapter struct {
// contains filtered or unexported fields
}
BaseCovid19Adapter represent BaseCovid19Adapter
func (*BaseCovid19Adapter) GetInfo ¶
func (b *BaseCovid19Adapter) GetInfo() Covid19AdapterInfo
GetInfo set Info
func (*BaseCovid19Adapter) SetInfo ¶
func (b *BaseCovid19Adapter) SetInfo(info Covid19AdapterInfo)
SetInfo set Info
type Covid19AdapterInfo ¶
type Covid19AdapterInfo 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"` }
Covid19AdapterInfo represent Covid19AdapterInfo
type ICovid19Adapter ¶
type ICovid19Adapter interface {
DisplayCurrentDataByCountry(req *domSchema.DisplayCurrentDataByCountryRequest) (*domSchema.TotalCountryProviderData, error)
}
ICovid19Adapter interface
Click to show internal directories.
Click to hide internal directories.