Documentation ¶ Index ¶ func RunAPI(ctx context.Context, wg *sync.WaitGroup, log *zap.Logger, ...) type API func (a *API) GetPageAndSize(c echo.Context, defaultPageSize int64) (int64, int64, error) type PaginatedResponse Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func RunAPI ¶ func RunAPI(ctx context.Context, wg *sync.WaitGroup, log *zap.Logger, db *database.Database, cfg *config.Config, st *strava.Strava, im *importer.Importer, q *queue.Queue) Types ¶ type API ¶ type API struct { // contains filtered or unexported fields } func (*API) GetPageAndSize ¶ func (a *API) GetPageAndSize(c echo.Context, defaultPageSize int64) (int64, int64, error) type PaginatedResponse ¶ type PaginatedResponse struct { Results interface{} `json:"results"` Count int64 `json:"count"` } Source Files ¶ View all Source files activity.go api.go athlete.go auth.go config.go dashboard.go gear.go handlers.go middleware.go pagination.go user.go Directories ¶ Show internal Expand all Path Synopsis docs Package docs Code generated by swaggo/swag. Package docs Code generated by swaggo/swag. Click to show internal directories. Click to hide internal directories.