Documentation ¶
Index ¶
- type Redis
- func (r *Redis) GetArrayOfFScreenComplete(pollId int64) ([]domain.FScreenComplete, error)
- func (r *Redis) GetArrayOfFScreenMain(pollId int64) ([]domain.FScreenMain, error)
- func (r *Redis) GetArrayOfFScreenWelcome(pollId int64) ([]domain.FScreenWelcome, error)
- func (r *Redis) GetEPoll(pollId int64) (*domain.EPoll, error)
- func (r *Redis) GetEPollChannel(pollId int64) ([]domain.EPollChannel, error)
- func (r *Redis) GetEPollDesign(pollId int64) (*domain.EPollDesign, error)
- func (r *Redis) GetEPollSettings(pollId int64) (*domain.EPollSettings, error)
- func (r *Redis) PutArrayOfFScreenComplete(pollId int64, a []domain.FScreenComplete)
- func (r *Redis) PutArrayOfFScreenMain(pollId int64, a []domain.FScreenMain)
- func (r *Redis) PutArrayOfFScreenWelcome(pollId int64, a []domain.FScreenWelcome)
- func (r *Redis) PutEPoll(pollId int64, a *domain.EPoll)
- func (r *Redis) PutEPollChannel(pollId int64, a []domain.EPollChannel)
- func (r *Redis) PutEPollDesign(pollId int64, a *domain.EPollDesign)
- func (r *Redis) PutEPollSettings(pollId int64, a *domain.EPollSettings)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Redis ¶
type Redis struct {
Cache *redis.Client
}
func CreateRedisCacheClient ¶
func (*Redis) GetArrayOfFScreenComplete ¶
func (r *Redis) GetArrayOfFScreenComplete(pollId int64) ([]domain.FScreenComplete, error)
func (*Redis) GetArrayOfFScreenMain ¶
func (r *Redis) GetArrayOfFScreenMain(pollId int64) ([]domain.FScreenMain, error)
func (*Redis) GetArrayOfFScreenWelcome ¶
func (r *Redis) GetArrayOfFScreenWelcome(pollId int64) ([]domain.FScreenWelcome, error)
func (*Redis) GetEPollChannel ¶
func (r *Redis) GetEPollChannel(pollId int64) ([]domain.EPollChannel, error)
func (*Redis) GetEPollDesign ¶
func (r *Redis) GetEPollDesign(pollId int64) (*domain.EPollDesign, error)
func (*Redis) GetEPollSettings ¶
func (r *Redis) GetEPollSettings(pollId int64) (*domain.EPollSettings, error)
func (*Redis) PutArrayOfFScreenComplete ¶
func (r *Redis) PutArrayOfFScreenComplete(pollId int64, a []domain.FScreenComplete)
func (*Redis) PutArrayOfFScreenMain ¶
func (r *Redis) PutArrayOfFScreenMain(pollId int64, a []domain.FScreenMain)
func (*Redis) PutArrayOfFScreenWelcome ¶
func (r *Redis) PutArrayOfFScreenWelcome(pollId int64, a []domain.FScreenWelcome)
func (*Redis) PutEPollChannel ¶
func (r *Redis) PutEPollChannel(pollId int64, a []domain.EPollChannel)
func (*Redis) PutEPollDesign ¶
func (r *Redis) PutEPollDesign(pollId int64, a *domain.EPollDesign)
func (*Redis) PutEPollSettings ¶
func (r *Redis) PutEPollSettings(pollId int64, a *domain.EPollSettings)
Click to show internal directories.
Click to hide internal directories.