Documentation ¶ Index ¶ Variables type Message type Service func New(cfg *config.Config) *Service func (s *Service) Init() error Constants ¶ This section is empty. Variables ¶ View Source var ( ErrIncompleteResponse = errors.New("incomplete response") ErrUnexpectedStatus = errors.New("unexpected status code") ErrEmotesNotEnabled = errors.New("user does not have an active emote set") ) Functions ¶ This section is empty. Types ¶ type Message ¶ type Message struct { Sender struct { ID string Username string } Room struct { Username string ID string } Type string MessageWords []string Raw string } type Service ¶ type Service struct { // contains filtered or unexported fields } func New ¶ func New(cfg *config.Config) *Service func (*Service) Init ¶ func (s *Service) Init() error Source Files ¶ View all Source files emote.go errors.go message.go nats.go service.go Directories ¶ Show internal Expand all Path Synopsis config Click to show internal directories. Click to hide internal directories.