soundboard

package
v0.0.0-...-bee8048 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 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 ConvertsTextToSpeech

type ConvertsTextToSpeech interface {
	Speak(text string)
	SetVoice(voice string)
	Voices() []string
}

type Dependency

type Dependency = ConvertsTextToSpeech

type Service

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

func (*Service) Config

func (s *Service) Config() (*config_file_manager.Config, error)

func (*Service) ConfigFileName

func (s *Service) ConfigFileName() string

func (*Service) DefaultConfig

func (s *Service) DefaultConfig() (cfg config_file_manager.Config)

func (*Service) DependenciesResolved

func (s *Service) DependenciesResolved() bool

func (*Service) Init

func (s *Service) Init(mesh servicemesh.Mesh)

func (*Service) Logger

func (s *Service) Logger() *slog.Logger

func (*Service) Name

func (s *Service) Name() string

func (*Service) OnTwitchPrivateMessage

func (s *Service) OnTwitchPrivateMessage(message twitch.PrivateMessage)

func (*Service) Ready

func (s *Service) Ready() bool

func (*Service) ResolveDependencies

func (s *Service) ResolveDependencies(services []servicemesh.Service)

func (*Service) SetLogger

func (s *Service) SetLogger(logger *slog.Logger)

type SoundBoardObject

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

Jump to

Keyboard shortcuts

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