Documentation ¶
Index ¶
- type Bfs
- func (b *Bfs) Authorize(key, secret, method, bucket, fileName string, expire int64) (authorization string)
- func (b *Bfs) SpecificUpload(ctx context.Context, contentType, auth, bucket, fileName string, data []byte) (location, etag string, err error)
- func (b *Bfs) Upload(ctx context.Context, up *model.UploadParam, data []byte) (location, etag string, err error)
- type Dao
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bfs ¶
type Bfs struct {
// contains filtered or unexported fields
}
Bfs .
func (*Bfs) Authorize ¶
func (b *Bfs) Authorize(key, secret, method, bucket, fileName string, expire int64) (authorization string)
Authorize .
type Dao ¶
type Dao struct { Bfs *Bfs // contains filtered or unexported fields }
Dao dao
func (*Dao) CreateTable ¶
CreateTable . TODO check namespace
Click to show internal directories.
Click to hide internal directories.