Documentation
¶
Index ¶
- type Handler
- func (h *Handler) CloseVote(ctx context.Context, request *pb.CloseVoteRequest) (*pb.CloseVoteResponse, error)
- func (h *Handler) GetArchiveLiveChat(ctx context.Context, request *pb.GetArchiveLiveChatRequest) (*pb.GetArchiveLiveChatResponse, error)
- func (h *Handler) GetCachedActiveLiveChat(ctx context.Context, request *pb.GetCachedActiveLiveChatRequest) (*pb.GetCachedActiveLiveChatResponse, error)
- func (h *Handler) GetVideo(ctx context.Context, request *pb.GetVideoRequest) (*pb.GetVideoResponse, error)
- func (h *Handler) GetVoteResult(ctx context.Context, request *pb.GetVoteResultRequest) (*pb.GetVoteResultResponse, error)
- func (h *Handler) GetWordCloud(ctx context.Context, request *pb.GetWordCloudRequest) (*pb.GetWordCloudResponse, error)
- func (h *Handler) OpenVote(ctx context.Context, request *pb.OpenVoteRequest) (*pb.OpenVoteResponse, error)
- func (h *Handler) PollActiveLiveChat(request *pb.PollActiveLiveChatRequest, server pb.Ylcc_PollActiveLiveChatServer) error
- func (h *Handler) PollGroupingActiveLiveChat(request *pb.PollGroupingActiveLiveChatRequest, ...) error
- func (h *Handler) Register(grpcServer *grpc.Server)
- func (h *Handler) Start() error
- func (h *Handler) StartCollectionActiveLiveChat(ctx context.Context, request *pb.StartCollectionActiveLiveChatRequest) (*pb.StartCollectionActiveLiveChatResponse, error)
- func (h *Handler) StartCollectionArchiveLiveChat(ctx context.Context, request *pb.StartCollectionArchiveLiveChatRequest) (*pb.StartCollectionArchiveLiveChatResponse, error)
- func (h *Handler) StartCollectionWordCloudMessages(ctx context.Context, request *pb.StartCollectionWordCloudMessagesRequest) (*pb.StartCollectionWordCloudMessagesResponse, error)
- func (h *Handler) StartGroupingActiveLiveChat(ctx context.Context, request *pb.StartGroupingActiveLiveChatRequest) (*pb.StartGroupingActiveLiveChatResponse, error)
- func (h *Handler) Stop()
- func (h *Handler) UpdateVoteDuration(ctx context.Context, request *pb.UpdateVoteDurationRequest) (*pb.UpdateVoteDurationResponse, error)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
pb.UnimplementedYlccServer
// contains filtered or unexported fields
}
func NewHandler ¶
func (*Handler) CloseVote ¶
func (h *Handler) CloseVote(ctx context.Context, request *pb.CloseVoteRequest) (*pb.CloseVoteResponse, error)
func (*Handler) GetArchiveLiveChat ¶
func (h *Handler) GetArchiveLiveChat(ctx context.Context, request *pb.GetArchiveLiveChatRequest) (*pb.GetArchiveLiveChatResponse, error)
func (*Handler) GetCachedActiveLiveChat ¶
func (h *Handler) GetCachedActiveLiveChat(ctx context.Context, request *pb.GetCachedActiveLiveChatRequest) (*pb.GetCachedActiveLiveChatResponse, error)
func (*Handler) GetVideo ¶
func (h *Handler) GetVideo(ctx context.Context, request *pb.GetVideoRequest) (*pb.GetVideoResponse, error)
func (*Handler) GetVoteResult ¶
func (h *Handler) GetVoteResult(ctx context.Context, request *pb.GetVoteResultRequest) (*pb.GetVoteResultResponse, error)
func (*Handler) GetWordCloud ¶
func (h *Handler) GetWordCloud(ctx context.Context, request *pb.GetWordCloudRequest) (*pb.GetWordCloudResponse, error)
func (*Handler) OpenVote ¶
func (h *Handler) OpenVote(ctx context.Context, request *pb.OpenVoteRequest) (*pb.OpenVoteResponse, error)
func (*Handler) PollActiveLiveChat ¶
func (h *Handler) PollActiveLiveChat(request *pb.PollActiveLiveChatRequest, server pb.Ylcc_PollActiveLiveChatServer) error
func (*Handler) PollGroupingActiveLiveChat ¶
func (h *Handler) PollGroupingActiveLiveChat(request *pb.PollGroupingActiveLiveChatRequest, server pb.Ylcc_PollGroupingActiveLiveChatServer) error
func (*Handler) StartCollectionActiveLiveChat ¶
func (h *Handler) StartCollectionActiveLiveChat(ctx context.Context, request *pb.StartCollectionActiveLiveChatRequest) (*pb.StartCollectionActiveLiveChatResponse, error)
func (*Handler) StartCollectionArchiveLiveChat ¶
func (h *Handler) StartCollectionArchiveLiveChat(ctx context.Context, request *pb.StartCollectionArchiveLiveChatRequest) (*pb.StartCollectionArchiveLiveChatResponse, error)
func (*Handler) StartCollectionWordCloudMessages ¶
func (h *Handler) StartCollectionWordCloudMessages(ctx context.Context, request *pb.StartCollectionWordCloudMessagesRequest) (*pb.StartCollectionWordCloudMessagesResponse, error)
func (*Handler) StartGroupingActiveLiveChat ¶
func (h *Handler) StartGroupingActiveLiveChat(ctx context.Context, request *pb.StartGroupingActiveLiveChatRequest) (*pb.StartGroupingActiveLiveChatResponse, error)
func (*Handler) UpdateVoteDuration ¶
func (h *Handler) UpdateVoteDuration(ctx context.Context, request *pb.UpdateVoteDurationRequest) (*pb.UpdateVoteDurationResponse, error)
Click to show internal directories.
Click to hide internal directories.