package
1.0.0
Repository: https://github.com/obalunenko/strava-api.git
Documentation: pkg.go.dev

# Functions

New creates a new segments API client.
New creates a new segments API client with basic auth credentials.
New creates a new segments API client with a bearer token for authentication.
NewExploreSegmentsDefault creates a ExploreSegmentsDefault with default headers values.
NewExploreSegmentsOK creates a ExploreSegmentsOK with default headers values.
NewExploreSegmentsParams creates a new ExploreSegmentsParams object, with the default timeout for this client.
NewExploreSegmentsParamsWithContext creates a new ExploreSegmentsParams object with the ability to set a context for a request.
NewExploreSegmentsParamsWithHTTPClient creates a new ExploreSegmentsParams object with the ability to set a custom HTTPClient for a request.
NewExploreSegmentsParamsWithTimeout creates a new ExploreSegmentsParams object with the ability to set a timeout on a request.
NewGetLoggedInAthleteStarredSegmentsDefault creates a GetLoggedInAthleteStarredSegmentsDefault with default headers values.
NewGetLoggedInAthleteStarredSegmentsOK creates a GetLoggedInAthleteStarredSegmentsOK with default headers values.
NewGetLoggedInAthleteStarredSegmentsParams creates a new GetLoggedInAthleteStarredSegmentsParams object, with the default timeout for this client.
NewGetLoggedInAthleteStarredSegmentsParamsWithContext creates a new GetLoggedInAthleteStarredSegmentsParams object with the ability to set a context for a request.
NewGetLoggedInAthleteStarredSegmentsParamsWithHTTPClient creates a new GetLoggedInAthleteStarredSegmentsParams object with the ability to set a custom HTTPClient for a request.
NewGetLoggedInAthleteStarredSegmentsParamsWithTimeout creates a new GetLoggedInAthleteStarredSegmentsParams object with the ability to set a timeout on a request.
NewGetSegmentByIDDefault creates a GetSegmentByIDDefault with default headers values.
NewGetSegmentByIDOK creates a GetSegmentByIDOK with default headers values.
NewGetSegmentByIDParams creates a new GetSegmentByIDParams object, with the default timeout for this client.
NewGetSegmentByIDParamsWithContext creates a new GetSegmentByIDParams object with the ability to set a context for a request.
NewGetSegmentByIDParamsWithHTTPClient creates a new GetSegmentByIDParams object with the ability to set a custom HTTPClient for a request.
NewGetSegmentByIDParamsWithTimeout creates a new GetSegmentByIDParams object with the ability to set a timeout on a request.
NewStarSegmentDefault creates a StarSegmentDefault with default headers values.
NewStarSegmentOK creates a StarSegmentOK with default headers values.
NewStarSegmentParams creates a new StarSegmentParams object, with the default timeout for this client.
NewStarSegmentParamsWithContext creates a new StarSegmentParams object with the ability to set a context for a request.
NewStarSegmentParamsWithHTTPClient creates a new StarSegmentParams object with the ability to set a custom HTTPClient for a request.
NewStarSegmentParamsWithTimeout creates a new StarSegmentParams object with the ability to set a timeout on a request.

# Structs

Client for segments API */.
ExploreSegmentsDefault describes a response with status code -1, with default header values.
ExploreSegmentsOK describes a response with status code 200, with default header values.
ExploreSegmentsParams contains all the parameters to send to the API endpoint for the explore segments operation.
ExploreSegmentsReader is a Reader for the ExploreSegments structure.
GetLoggedInAthleteStarredSegmentsDefault describes a response with status code -1, with default header values.
GetLoggedInAthleteStarredSegmentsOK describes a response with status code 200, with default header values.
GetLoggedInAthleteStarredSegmentsParams contains all the parameters to send to the API endpoint for the get logged in athlete starred segments operation.
GetLoggedInAthleteStarredSegmentsReader is a Reader for the GetLoggedInAthleteStarredSegments structure.
GetSegmentByIDDefault describes a response with status code -1, with default header values.
GetSegmentByIDOK describes a response with status code 200, with default header values.
GetSegmentByIDParams contains all the parameters to send to the API endpoint for the get segment by Id operation.
GetSegmentByIDReader is a Reader for the GetSegmentByID structure.
StarSegmentDefault describes a response with status code -1, with default header values.
StarSegmentOK describes a response with status code 200, with default header values.
StarSegmentParams contains all the parameters to send to the API endpoint for the star segment operation.
StarSegmentReader is a Reader for the StarSegment structure.

# Interfaces

ClientService is the interface for Client methods.

# Type aliases

ClientOption may be used to customize the behavior of Client methods.