Documentation ¶
Index ¶
- type Service
- func (s *Service) AddCards(c *gin.Context)
- func (s *Service) AddMobile(c *gin.Context)
- func (s *Service) EditCard(c *gin.Context)
- func (s *Service) GetCards(c *gin.Context)
- func (s *Service) GetMobile(c *gin.Context)
- func (s *Service) RemoveCard(c *gin.Context)
- func (s *Service) Tokenize(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
Redis *redis.Client
}
func (*Service) AddMobile ¶
AddMobile adds a new mobile number entry to this current authorized user
func (*Service) EditCard ¶
EditCard a work in progress. This function needs to be reviewed and refactored
func (*Service) GetCards ¶
GetCards returns a list of cards (default and others) associated to this authorized user
func (*Service) RemoveCard ¶
RemoveCard a work in progress. This function needs to be reviewed and refactored
Click to show internal directories.
Click to hide internal directories.