businessConsts

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultVoice = "zh-CN-XiaoxiaoNeural"
)
View Source
const (
	VoiceNameTemplate = "Microsoft Server Speech Text to Speech Voice (%s-%s, %s)"
)

Variables

View Source
var (
	BaseUrl            = "speech.platform.bing.com/consumer/speech/synthesize/readaloud"
	TrustedClientToken = "6A5AA1D4EAFF4E9FB37E23D68491D6F4"

	EdgeWssEndpoint   = fmt.Sprintf("wss://%s/edge/v1?TrustedClientToken=%s", BaseUrl, TrustedClientToken)
	VoiceListEndpoint = fmt.Sprintf("https://%s/voices/list?trustedclienttoken=%s", BaseUrl, TrustedClientToken)

	ChromiumFllVersion   = "130.0.2849.68"
	ChromiumMajorVersion = strings.Split(ChromiumFllVersion, ".")[0]
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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