client

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: GPL-3.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AthleteClient

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

func NewAthleteClient

func NewAthleteClient(url string) *AthleteClient

func (*AthleteClient) GetAthleteByNameAndYear

func (c *AthleteClient) GetAthleteByNameAndYear(name string, year int) (*model.Athlete, bool, error)

func (*AthleteClient) ImportAthlete

func (c *AthleteClient) ImportAthlete(athlete model.Athlete, meeting string) (*model.Athlete, bool, error)

type TeamClient

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

func NewTeamClient

func NewTeamClient(url string) *TeamClient

func (*TeamClient) GetTeamByName

func (c *TeamClient) GetTeamByName(name string) (*model.Team, bool, error)

func (*TeamClient) GetTeamsByMeeting

func (c *TeamClient) GetTeamsByMeeting(meeting string) (*[]model.Team, bool, error)

func (*TeamClient) ImportTeam

func (c *TeamClient) ImportTeam(team model.Team, meeting string) (*model.Team, bool, error)

Jump to

Keyboard shortcuts

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