wavelog

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(apiURL, apiKey string, stationProfileID int) *Client

func (*Client) SendQSO

func (c *Client) SendQSO(adiString string) error

type QSORequest

type QSORequest struct {
	Key              string `json:"key"`
	StationProfileID string `json:"station_profile_id"`
	Type             string `json:"type"`
	String           string `json:"string"`
}

type WavelogProvider

type WavelogProvider struct {
	// contains filtered or unexported fields
}

WavelogProvider 实现了 Provider 接口,用于 Wavelog 服务

func NewWavelogProvider

func NewWavelogProvider(apiURL, apiKey string, stationProfileID int) *WavelogProvider

NewWavelogProvider 创建一个新的 WavelogProvider 实例

func (*WavelogProvider) Download

func (p *WavelogProvider) Download(w io.Writer) error

Download 从 Wavelog 下载 ADIF 文件

func (*WavelogProvider) GetName added in v1.1.0

func (p *WavelogProvider) GetName() string

GetName 获取提供商的名称

func (*WavelogProvider) GetSize

func (p *WavelogProvider) GetSize() (int64, error)

GetSize 获取 Wavelog 上 ADIF 文件的大小

func (*WavelogProvider) Upload

func (p *WavelogProvider) Upload(_ string, line string) error

Upload 上传 QSO 记录到 Wavelog

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL