Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthHandler ¶
type AuthHandler struct {
// contains filtered or unexported fields
}
func NewAuthHandler ¶
func NewAuthHandler( oauth2Config oauth2.Config, userRepository repositories.UserRepository, userTokenRepository repositories.UserTokenRepository, ) AuthHandler
func (*AuthHandler) GetAuthGoogleCallback ¶
func (h *AuthHandler) GetAuthGoogleCallback(c *gin.Context)
func (*AuthHandler) GetOAuthURL ¶
func (h *AuthHandler) GetOAuthURL(c *gin.Context)
type CharacterHandler ¶
type CharacterHandler struct {
// contains filtered or unexported fields
}
func NewCharacterHandler ¶
func NewCharacterHandler(characterRepo repositories.CharacterRepository) CharacterHandler
func (*CharacterHandler) CreateCharacter ¶
func (h *CharacterHandler) CreateCharacter(c *gin.Context)
func (*CharacterHandler) GetCharacterByID ¶
func (h *CharacterHandler) GetCharacterByID(c *gin.Context)
type PlayerHandler ¶
type PlayerHandler struct {
// contains filtered or unexported fields
}
func NewPlayerHandler ¶
func NewPlayerHandler( userRepository repositories.UserRepository, characterRepository repositories.CharacterRepository, ) PlayerHandler
func (*PlayerHandler) GetPlayer ¶
func (h *PlayerHandler) GetPlayer(c *gin.Context)
func (*PlayerHandler) GetPlayerCharacters ¶
func (h *PlayerHandler) GetPlayerCharacters(c *gin.Context)
type UserHandler ¶
type UserHandler struct {
// contains filtered or unexported fields
}
func NewUserHandler ¶
func NewUserHandler( oauth2Config oauth2.Config, userRepository repositories.UserRepository, userTokenRepository repositories.UserTokenRepository, characterRepository repositories.CharacterRepository, ) UserHandler
func (*UserHandler) GetUserInfo ¶
func (h *UserHandler) GetUserInfo(c *gin.Context)
func (*UserHandler) UpdateUser ¶
func (h *UserHandler) UpdateUser(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.