Documentation ¶
Index ¶
- func CloseMQConn()
- type VoteServiceImpl
- func (s VoteServiceImpl) CreateVote(ctx context.Context, request *votePb.CreateVoteRequest) (response *votePb.CreateVoteResponse, err error)
- func (s VoteServiceImpl) GetVoteCount(ctx context.Context, request *votePb.GetVoteCountRequest) (response *votePb.GetVoteCountResponse, err error)
- func (s VoteServiceImpl) New()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseMQConn ¶
func CloseMQConn()
Types ¶
type VoteServiceImpl ¶
type VoteServiceImpl struct {
votePb.VoteServiceServer
}
func (VoteServiceImpl) CreateVote ¶
func (s VoteServiceImpl) CreateVote(ctx context.Context, request *votePb.CreateVoteRequest) (response *votePb.CreateVoteResponse, err error)
func (VoteServiceImpl) GetVoteCount ¶
func (s VoteServiceImpl) GetVoteCount(ctx context.Context, request *votePb.GetVoteCountRequest) (response *votePb.GetVoteCountResponse, err error)
func (VoteServiceImpl) New ¶
func (s VoteServiceImpl) New()
Click to show internal directories.
Click to hide internal directories.