Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticationService ¶
type AuthenticationService interface {
AuthenticatePlayer(c *gin.Context, a *models.PlayerAuthentication) (*models.Token, *models.ErrorParsing)
}
AuthenticationService :
func NewAuthenticationService ¶
func NewAuthenticationService(pr repositories.PlayerRepository) AuthenticationService
NewAuthenticationService :
type PlayerService ¶
type PlayerService interface { ListPlayers(index, size int) (*models.Pagination, *models.ErrorParsing) GetPlayer(id string) (*models.Player, *models.ErrorParsing) GetPlayerByUserName(username string) (*models.Player, *models.ErrorParsing) CreatePlayer(pr *models.PlayerRegistration) (*models.Player, *models.ErrorParsing) UpdatePlayer(id string, player *models.Player) (*models.Player, *models.ErrorParsing) ModifyPlayer(id string, player map[string]interface{}) (*models.Player, *models.ErrorParsing) DeletePlayer(id string) *models.ErrorParsing }
PlayerService :
func NewPlayerService ¶
func NewPlayerService(pr repositories.PlayerRepository) PlayerService
NewPlayerService :
Click to show internal directories.
Click to hide internal directories.