Documentation ¶
Index ¶
- type Dao
- func (d *Dao) Capture(c context.Context, url string) (loc string, size int, err error)
- func (d *Dao) UpVideoCovers(c context.Context, covers []string) (cvs []string, err error)
- func (d *Dao) Upload(c context.Context, fileType string, bs []byte) (location string, err error)
- func (d *Dao) UploadArc(c context.Context, fileType string, body io.Reader) (location string, err error)
- func (d *Dao) UploadByFile(c context.Context, imgpath string) (location string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao is bfs dao.
func (*Dao) UpVideoCovers ¶
UpVideoCovers upload video covers.
Click to show internal directories.
Click to hide internal directories.