private_service

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanVoteDy

func CanVoteDy(username string) (err error, canVoteResultList interface{})

func CanVoteGl

func CanVoteGl(username string) (err error, canVoteResultList interface{})

func CandidateAdd

func CandidateAdd(toAddCandidate *model.RequestAddCandidate, username string) (err error)

func CandidateDelete

func CandidateDelete(id uint, username string) (err error)

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 VoterAdd

func VoterAdd(toAddVoter *model.RequestAddVoter, username string) (err error)

func VoterDelete

func VoterDelete(id uint, username string) (err error)

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 VoterRandomDelete(id uint, username string) (err error)

func VoterRandomGet

func VoterRandomGet(getVoterRandomNumber model.RequestGetVoterRandom, username string) (err error, voter []system.SysUser, total int64)

func VoterRandomList

func VoterRandomList(getVoterRandomList model.RequestVoterRandomList, username string) (err error, voter []model.GqaPluginVoteVoterRandom, total int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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