Versions in this module Expand all Collapse all v0 v0.5.5 Jul 8, 2023 Changes in this version + func GetBytes(s int) []byte + func Login() error + func PutBytes(slice []byte) + type AddReqJSON struct + ActReserveCreate int64 + Copyright int64 + Cover string + Csrf string + Desc string + DescFormatID int64 + Dolby int64 + Dynamic string + Interactive int64 + LosslessMusic int64 + NoDisturbance int64 + NoReprint int64 + Source string + Subtitle Subtitle + Tag string + Tid int64 + Title string + Videos []Video + type Biliup struct + Config Config + func New(cfg Config) *Biliup + func (b *Biliup) Upload() error + type Config struct + CookieFilepath string + MaxBytesPerSecond float64 + Threads int64 + VideoFilepath string + type CookieData struct + AccessToken string + CookieInfo struct{ ... } + ExpiresIn int64 + IsNew bool + Mid int64 + RefreshToken string + Sso []string + TokenInfo struct{ ... } + type CookieInfo struct + Cookie string + Csrf string + type Part struct + ETag string + PartNumber int64 + type PreuploadInfo struct + Auth string + BizID int64 + ChunkRetry int64 + ChunkRetryDelay int64 + ChunkSize int64 + Endpoint string + Endpoints []string + ExposeParams interface{} + OK int64 + PutQuery string + Threads int64 + Timeout int64 + Uip string + UposURI string + type ReqJSON struct + Parts []Part + type Subtitle struct + Lan string + Open int64 + type UploadInfo struct + Bucket string + Etag string + Key string + Location string + OK int64 + UploadID string + type UploadMetadata struct + Auth string + BaseURL string + BizID int64 + ChunkSize int64 + FileName string + UploadID string + type Video struct + Cid int64 + Desc string + Filename string + Title string + type VideoMetadata struct + Cover string + Desc string + Filename string + Filepath string + Filesize int64 + Source string + Tag string + Tid int64 + Title string + UpType int64