package
0.0.0-20240616184458-c1c6e4fd8161
Repository: https://github.com/matif100/throw-muffin-api.git
Documentation: pkg.go.dev

# Functions

Fetch workout godoc @Summary Fetch single workout info @Tags Workout @Param uuid path string true "Workout ID" @Produce json @Failure 400 @Failure 500 @Success 200 @Router /workout/{uuid} [get] @Security ApiKeyAuth.
RefreshTocken godoc @Summary Token generation @Description Generate authentication token @Tags Auth @Param request body TokenRequest true "Token request" @Produce json @Failure 400 @Failure 401 @Failure 500 @Success 200 @Router /auth/login [post].
GenerateWorkout godoc @Summary Generate workout plan @Tags Workout @Param details body GeneratePlanRequest true "User expectations" @Produce json @Failure 400 @Failure 500 @Success 200 @Router /workout/generate [post] @Security ApiKeyAuth.
GetWorkouts godoc @Summary Get all generated workout plans @Tags Workout @Produce json @Failure 400 @Failure 500 @Success 200 @Router /workout/all [get] @Security ApiKeyAuth.
Ping godoc @Summary Ping @Description Ping system to check if it works @Tags Diagnostic @Produce json @Failure 401 @Router /ping [get] @Security ApiKeyAuth.
RefreshToken godoc @Summary Token generation @Description Generate authentication token @Tags Auth @Param request body RefreshTokenRequest true "Refrest Token request" @Produce json @Failure 400 @Failure 401 @Failure 500 @Success 200 @Router /auth/refresh-token [post].
RegisterUser godoc @Summary Register user @Tags Auth @Param request body RegisterUserRequest true "User data" @Produce json @Failure 400 @Failure 500 @Success 200 @Router /auth/register [post].

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author