Documentation ¶
Index ¶
- type Service
- func (s *Service) Config() (*config_file_manager.Config, error)
- func (s *Service) ConfigFileName() string
- func (s *Service) DefaultConfig() (cfg config_file_manager.Config)
- func (s *Service) DependenciesResolved() bool
- func (s *Service) Init(mesh servicemesh.Mesh)
- func (s *Service) Logger() *slog.Logger
- func (s *Service) Name() string
- func (s *Service) OnTwitchPrivateMessage(message twitch.PrivateMessage)
- func (s *Service) OnTwitchUserJoinMessage(message twitch.UserJoinMessage)
- func (s *Service) Ready() bool
- func (s *Service) ResolveDependencies(services []servicemesh.Service)
- func (s *Service) SetLogger(logger *slog.Logger)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct { StartupTime time.Time OnJoinDelay time.Duration // prevent onJoin messages for a duration // contains filtered or unexported fields }
this service will just connect the TTS to the twitch integration service
func (*Service) ConfigFileName ¶
func (*Service) DefaultConfig ¶
func (s *Service) DefaultConfig() (cfg config_file_manager.Config)
func (*Service) DependenciesResolved ¶
func (*Service) Init ¶
func (s *Service) Init(mesh servicemesh.Mesh)
func (*Service) OnTwitchPrivateMessage ¶
func (s *Service) OnTwitchPrivateMessage(message twitch.PrivateMessage)
func (*Service) OnTwitchUserJoinMessage ¶
func (s *Service) OnTwitchUserJoinMessage(message twitch.UserJoinMessage)
func (*Service) ResolveDependencies ¶
func (s *Service) ResolveDependencies(services []servicemesh.Service)
Click to show internal directories.
Click to hide internal directories.