Documentation ¶
Index ¶
- Constants
- func New(options ...drivercommon.Option) (drivercommon.DriverPlugin, error)
- type BaiJiaHao
- func (bjh *BaiJiaHao) CheckUrl(ctx context.Context, metaurl string) bool
- func (bjh *BaiJiaHao) Download(ctx context.Context, metaurl string) ([]byte, error)
- func (bjh *BaiJiaHao) DownloadUsable() bool
- func (bjh *BaiJiaHao) MaxSize() int
- func (bjh *BaiJiaHao) Name() string
- func (b *BaiJiaHao) SetOption(options ...drivercommon.Option) error
- func (bjh *BaiJiaHao) SpaceSize() drivercommon.SpaceSize
- func (bjh *BaiJiaHao) SuperEncoder() []string
- func (bjh *BaiJiaHao) Upload(ctx context.Context, block []byte) (md5 string, err error)
- func (bjh *BaiJiaHao) UploadUsable() bool
Constants ¶
View Source
const NAME = "baijiahao"
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(options ...drivercommon.Option) (drivercommon.DriverPlugin, error)
Types ¶
type BaiJiaHao ¶
type BaiJiaHao struct {
// contains filtered or unexported fields
}
func (*BaiJiaHao) DownloadUsable ¶
func (*BaiJiaHao) SpaceSize ¶
func (bjh *BaiJiaHao) SpaceSize() drivercommon.SpaceSize
func (*BaiJiaHao) SuperEncoder ¶
func (*BaiJiaHao) UploadUsable ¶
Click to show internal directories.
Click to hide internal directories.