Documentation ¶
Index ¶
Constants ¶
View Source
const RuntimeKey = "github.com/bzimmer/gravl#RuntimeKey"
Variables ¶
This section is empty.
Functions ¶
func Afters ¶
func Afters(afs ...cli.AfterFunc) cli.AfterFunc
Afters combines multiple `cli.AfterFunc`s into a single `cli.AfterFunc`
Types ¶
type ExporterFunc ¶
type Rt ¶
type Rt struct { // Metadata Start time.Time // Activity clients Zwift *zwift.Client Strava *strava.Client RideWithGPS *rwgps.Client CyclingAnalytics *cyclinganalytics.Client // Endpoints Endpoints map[string]oauth2.Endpoint // Export / Upload Exporters map[string]ExporterFunc Uploaders map[string]UploaderFunc // IO Fs afero.Fs Encoder Encoder // Metrics Metrics *metrics.Metrics Sink *metrics.InmemSink // Evaluation Filterer func(string) (eval.Filterer, error) Evaluator func(string) (eval.Evaluator, error) }
Rt holds the gravl runtime
type UploaderFunc ¶
Click to show internal directories.
Click to hide internal directories.