Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StartWebServer ¶
StartWebServer starts the HTTP service and listens for the admin requests
Types ¶
type Configurator ¶
Configurator configures request from header and request and configuration
type PrData ¶
type PrData struct { Processor Synthesizer Configurator Configurator }
PrData is method process data
type Synthesizer ¶
type Synthesizer interface {
Work(*api.TTSRequestConfig) (*api.Result, error)
}
Synthesizer main sythesis processor
type TTSConfigutaror ¶
type TTSConfigutaror struct {
// contains filtered or unexported fields
}
TTSConfigutaror tts request configuration
func NewTTSConfigurator ¶
func NewTTSConfigurator(cfg *viper.Viper) (*TTSConfigutaror, error)
NewTTSConfigurator creates the initial request configuration
func (*TTSConfigutaror) Configure ¶
func (c *TTSConfigutaror) Configure(r *http.Request, inText *api.Input) (*api.TTSRequestConfig, error)
Configure prepares request configuration
Click to show internal directories.
Click to hide internal directories.