Documentation ¶
Index ¶
- func CanVoteDy(username string) (err error, canVoteResultList interface{})
- func CanVoteGl(username string) (err error, canVoteResultList interface{})
- func CandidateAdd(toAddCandidate *model.RequestAddCandidate, username string) (err error)
- func CandidateDelete(id uint, username string) (err error)
- func CandidateList(getCandidateList model.RequestCandidateList, username string) (err error, candidate []model.GqaPluginVoteCandidate, total int64)
- func VoteHandle(toAddScore *model.RequestAddScore, username string) (err error)
- func VoteResultChart(getVoteScoreList model.RequestScoreResultList, username string) (err error, score []model.GqaPluginVoteScoreResult, total int64)
- func VoteResultList(getVoteScoreList model.RequestScoreResultList, username string) (err error, score []model.GqaPluginVoteScoreResult, total int64)
- func VoteResultVoted(getVoteScoreVoted model.RequestScoreResultVoted) (err error, score []model.GqaPluginVoteScoreResult)
- func VoterAdd(toAddVoter *model.RequestAddVoter, username string) (err error)
- func VoterDelete(id uint, username string) (err error)
- func VoterList(getVoterList model.RequestVoterList, username string) (err error, voter []model.GqaPluginVoteVoter, total int64)
- func VoterRandomAdd(toAddVoterRandom *model.RequestAddVoterRandom, username string) (err error)
- func VoterRandomDelete(id uint, username string) (err error)
- func VoterRandomGet(getVoterRandomNumber model.RequestGetVoterRandom, username string) (err error, voter []system.SysUser, total int64)
- func VoterRandomList(getVoterRandomList model.RequestVoterRandomList, username string) (err error, voter []model.GqaPluginVoteVoterRandom, total int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CandidateAdd ¶
func CandidateAdd(toAddCandidate *model.RequestAddCandidate, username string) (err error)
func CandidateDelete ¶
func CandidateList ¶
func CandidateList(getCandidateList model.RequestCandidateList, username string) (err error, candidate []model.GqaPluginVoteCandidate, total int64)
func VoteHandle ¶
func VoteHandle(toAddScore *model.RequestAddScore, username string) (err error)
func VoteResultChart ¶
func VoteResultChart(getVoteScoreList model.RequestScoreResultList, username string) (err error, score []model.GqaPluginVoteScoreResult, total int64)
func VoteResultList ¶
func VoteResultList(getVoteScoreList model.RequestScoreResultList, username string) (err error, score []model.GqaPluginVoteScoreResult, total int64)
func VoteResultVoted ¶ added in v0.0.4
func VoteResultVoted(getVoteScoreVoted model.RequestScoreResultVoted) (err error, score []model.GqaPluginVoteScoreResult)
func VoterDelete ¶
func VoterList ¶
func VoterList(getVoterList model.RequestVoterList, username string) (err error, voter []model.GqaPluginVoteVoter, total int64)
func VoterRandomAdd ¶
func VoterRandomAdd(toAddVoterRandom *model.RequestAddVoterRandom, username string) (err error)
func VoterRandomDelete ¶
func VoterRandomGet ¶
func VoterRandomList ¶
func VoterRandomList(getVoterRandomList model.RequestVoterRandomList, username string) (err error, voter []model.GqaPluginVoteVoterRandom, total int64)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.