Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Conf = config.GetConfig()
Functions ¶
This section is empty.
Types ¶
type ASMRClient ¶ added in v0.3.0
type ASMRClient struct { Authorization string WorkerPool *utils.WorkerPool ThreadCount int }
func NewASMRClient ¶ added in v0.3.0
func NewASMRClient(maxTask int, maxThread int) *ASMRClient
func (*ASMRClient) Download ¶ added in v0.3.0
func (ac *ASMRClient) Download(id string)
func (*ASMRClient) DownloadFile ¶ added in v0.3.0
func (ac *ASMRClient) DownloadFile(url string, dirPath string, fileName string)
func (*ASMRClient) EnsureDir ¶ added in v0.3.0
func (ac *ASMRClient) EnsureDir(tracks []track, basePath string)
func (*ASMRClient) GetVoiceTracks ¶ added in v0.3.0
func (ac *ASMRClient) GetVoiceTracks(id string) ([]track, error)
func (*ASMRClient) Login ¶ added in v0.3.0
func (ac *ASMRClient) Login() error
Click to show internal directories.
Click to hide internal directories.