mirror of
https://github.com/iLoveElysia/openbilibili.git
synced 2026-06-07 21:48:31 -05:00
12 lines
269 B
Go
12 lines
269 B
Go
package service
|
|
|
|
import (
|
|
"context"
|
|
"io"
|
|
)
|
|
|
|
// Upload http upload file.
|
|
func (s *Service) Upload(c context.Context, fileName, fileType string, expire int64, body io.Reader) (location string, err error) {
|
|
return s.bfsdao.Upload(c, fileName, fileType, expire, body)
|
|
}
|