Documentation ¶
Index ¶
- Variables
- type ErrorResponse
- type IsVoteResponse
- type LikitServer
- func (s *LikitServer) Count(ctx context.Context, businessId string, messageId string) (int64, error)
- func (s *LikitServer) IsVote(ctx context.Context, businessId string, messageId string, userId string) (bool, error)
- func (s *LikitServer) UnVote(ctx context.Context, businessId string, messageId string, userId string) (int64, error)
- func (s *LikitServer) Vote(ctx context.Context, businessId string, messageId string, userId string) (int64, error)
- func (s *LikitServer) VotedUsers(ctx context.Context, businessId string, messageId string) ([]string, error)
- type VoteResponse
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ErrorResponse ¶
type IsVoteResponse ¶ added in v0.0.2
type LikitServer ¶ added in v0.1.0
type LikitServer struct {
// contains filtered or unexported fields
}
func NewLikitServer ¶ added in v0.1.0
func NewLikitServer(host string, tls bool) *LikitServer
func (*LikitServer) VotedUsers ¶ added in v0.1.0
type VoteResponse ¶
Click to show internal directories.
Click to hide internal directories.