Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HamQTHConfig ¶
type HamQTHConfig struct {
Username string `mapstructure:"username"`
Password string `mapstructure:"password"`
Callsign string `mapstructure:"callsign"`
}
HamQTHConfig 定义了 HamQTH 配置
type HamQTHProvider ¶
type HamQTHProvider struct {
// contains filtered or unexported fields
}
HamQTHProvider 实现了 Provider 接口,用于 HamQTH 服务
func NewHamQTHProvider ¶
func NewHamQTHProvider(cfg HamQTHConfig) *HamQTHProvider
NewHamQTHProvider 创建一个新的 HamQTHProvider 实例
func (*HamQTHProvider) Download ¶
func (p *HamQTHProvider) Download(w io.Writer) error
Download 从 HamQTH 下载 ADIF 文件
func (*HamQTHProvider) GetSize ¶
func (p *HamQTHProvider) GetSize() (int64, error)
GetSize 获取 HamQTH 上 ADIF 文件的大小
Click to show internal directories.
Click to hide internal directories.