cards

package
v0.0.0-...-1985c56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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) AddCards

func (s *Service) AddCards(c *gin.Context)

AddCards to the current authorized user

func (*Service) AddMobile

func (s *Service) AddMobile(c *gin.Context)

AddMobile adds a new mobile number entry to this current authorized user

func (*Service) EditCard

func (s *Service) EditCard(c *gin.Context)

EditCard a work in progress. This function needs to be reviewed and refactored

func (*Service) GetCards

func (s *Service) GetCards(c *gin.Context)

GetCards returns a list of cards (default and others) associated to this authorized user

func (*Service) GetMobile

func (s *Service) GetMobile(c *gin.Context)

GetMobile returns a user list of mobile numbers from redis database

func (*Service) RemoveCard

func (s *Service) RemoveCard(c *gin.Context)

RemoveCard a work in progress. This function needs to be reviewed and refactored

func (*Service) Tokenize

func (s *Service) Tokenize(c *gin.Context)

Tokenize returns a token representations of the Card

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL