Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalSpeech ¶ added in v1.1.0
type LocalSpeech struct {
*Speech
}
func NewLocalSpeech ¶ added in v1.1.0
func NewLocalSpeech(c *edge.Communicate, folder string) (*LocalSpeech, error)
func (*LocalSpeech) GenTTS ¶ added in v1.1.0
func (speech *LocalSpeech) GenTTS() (string, func() error)
type OssSpeech ¶ added in v1.1.0
type OssSpeech struct { *Speech // contains filtered or unexported fields }
func NewOssSpeech ¶ added in v1.1.0
func NewOssSpeech(c *edge.Communicate, endpoint, ak, sk, folder, bucket string) (*OssSpeech, error)
type OssSpeechFactory ¶ added in v1.1.1
type OssSpeechFactory struct {
// contains filtered or unexported fields
}
func NewOssSpeechFactory ¶ added in v1.1.1
func NewOssSpeechFactory(endpoint, ak, sk, bucket, folder string) *OssSpeechFactory
func (*OssSpeechFactory) OssSpeech ¶ added in v1.1.1
func (factory *OssSpeechFactory) OssSpeech(c *edge.Communicate, folder string) (*OssSpeech, error)
Click to show internal directories.
Click to hide internal directories.