Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
SHEETNAME = "Strava-Export"
)
Functions ¶
func GetActivitiesPage ¶
GetActivitiesPage returns the activities page
Types ¶
type AuthController ¶
func (*AuthController) AuthMiddleware ¶
func (a *AuthController) AuthMiddleware() gin.HandlerFunc
AuthMiddleware checks if a user is authenticated
func (*AuthController) AuthenticateUser ¶
func (ac *AuthController) AuthenticateUser(c *gin.Context)
AuthenticateUser requests an oauth token and stores it in the session
func (*AuthController) GetLoginPage ¶
func (ac *AuthController) GetLoginPage(c *gin.Context)
GetLoginPage returns the login page
Click to show internal directories.
Click to hide internal directories.