processor

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2021 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*options)

func Verbose

func Verbose(verbose bool) Option

type Processor

type Processor struct {
	// contains filtered or unexported fields
}

func NewProcessor

func NewProcessor(collector *collector.Collector, mecabrc string, font string, opts ...Option) *Processor

func (*Processor) CloseVote

func (p *Processor) CloseVote(request *pb.CloseVoteRequest) (*pb.CloseVoteResponse, error)

func (*Processor) GetVoteResult

func (p *Processor) GetVoteResult(request *pb.GetVoteResultRequest) (*pb.GetVoteResultResponse, error)

func (*Processor) GetWordCloud

func (p *Processor) GetWordCloud(request *pb.GetWordCloudRequest) (*pb.GetWordCloudResponse, error)

func (*Processor) OpenVote

func (p *Processor) OpenVote(request *pb.OpenVoteRequest) (*pb.OpenVoteResponse, error)

func (*Processor) StartGroupingActiveLiveChat

func (p *Processor) StartGroupingActiveLiveChat(request *pb.StartGroupingActiveLiveChatRequest) (*pb.StartGroupingActiveLiveChatResponse, error)

func (*Processor) SubscribeGroupingActiveLiveChat

func (p *Processor) SubscribeGroupingActiveLiveChat(groupingId string) (*groupingContext, error)

func (*Processor) UnsubscribeGroupingActiveLiveChat

func (p *Processor) UnsubscribeGroupingActiveLiveChat(groupingId string)

func (*Processor) UpdateVoteDuration

func (p *Processor) UpdateVoteDuration(request *pb.UpdateVoteDurationRequest) (*pb.UpdateVoteDurationResponse, error)

Jump to

Keyboard shortcuts

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