baijiahao

package
v0.0.0-...-084929d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 12, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "baijiahao"

Variables

This section is empty.

Functions

func New

Types

type BaiJiaHao

type BaiJiaHao struct {
	// contains filtered or unexported fields
}

func (*BaiJiaHao) CheckUrl

func (bjh *BaiJiaHao) CheckUrl(ctx context.Context, metaurl string) bool

func (*BaiJiaHao) Download

func (bjh *BaiJiaHao) Download(ctx context.Context, metaurl string) ([]byte, error)

func (*BaiJiaHao) DownloadUsable

func (bjh *BaiJiaHao) DownloadUsable() bool

func (*BaiJiaHao) MaxSize

func (bjh *BaiJiaHao) MaxSize() int

func (*BaiJiaHao) Name

func (bjh *BaiJiaHao) Name() string

func (*BaiJiaHao) SetOption

func (b *BaiJiaHao) SetOption(options ...drivercommon.Option) error

func (*BaiJiaHao) SpaceSize

func (bjh *BaiJiaHao) SpaceSize() drivercommon.SpaceSize

func (*BaiJiaHao) SuperEncoder

func (bjh *BaiJiaHao) SuperEncoder() []string

func (*BaiJiaHao) Upload

func (bjh *BaiJiaHao) Upload(ctx context.Context, block []byte) (md5 string, err error)

func (*BaiJiaHao) UploadUsable

func (bjh *BaiJiaHao) UploadUsable() bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL