garmin

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: MIT Imports: 14 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() *Client

func (*Client) AddWeights added in v0.3.0

func (c *Client) AddWeights(weights []*core.Weight) error

func (*Client) Delete

func (c *Client) Delete(api string) (*http.Response, error)

func (*Client) DeleteWeight

func (c *Client) DeleteWeight(weight *core.Weight) error

func (*Client) Equal added in v0.3.0

func (c *Client) Equal(w1, w2 *core.Weight) bool

func (*Client) Get

func (c *Client) Get(api string) (*http.Response, error)

func (*Client) GetAllWeights

func (c *Client) GetAllWeights() ([]*core.Weight, error)

func (*Client) GetWeight

func (c *Client) GetWeight(start, end string) ([]*core.Weight, error)

GetWeight - start and end format: 2025-07-28

func (*Client) Login

func (c *Client) Login(username, password string) error

func (*Client) LoginWithToken

func (c *Client) LoginWithToken(token string) error

func (*Client) PostFile

func (c *Client) PostFile(api, filename string, data []byte) (*http.Response, error)

func (*Client) Token

func (c *Client) Token() string

func (*Client) Upload

func (c *Client) Upload(filename string, data []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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