cache

package
v0.0.0-...-f1097ea Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2021 License: Unlicense Imports: 7 Imported by: 0

Documentation

Index

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 CreateRedisCacheClient(cfg *config.Config) *Redis

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

func (r *Redis) GetEPoll(pollId int64) (*domain.EPoll, 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) PutEPoll

func (r *Redis) PutEPoll(pollId int64, a *domain.EPoll)

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)

Jump to

Keyboard shortcuts

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