wuba

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: 13 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "wuba"

Variables

This section is empty.

Functions

func New

Types

type WuBa

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

func (*WuBa) CheckUrl

func (wb *WuBa) CheckUrl(ctx context.Context, metaurl string) bool

func (*WuBa) Download

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

func (*WuBa) DownloadUsable

func (wb *WuBa) DownloadUsable() bool

func (*WuBa) MaxSize

func (wb *WuBa) MaxSize() int

func (*WuBa) Name

func (wb *WuBa) Name() string

func (*WuBa) SetOption

func (wb *WuBa) SetOption(options ...drivercommon.Option) error

func (*WuBa) SpaceSize

func (wb *WuBa) SpaceSize() drivercommon.SpaceSize

func (*WuBa) SuperEncoder

func (wb *WuBa) SuperEncoder() []string

func (*WuBa) Upload

func (wb *WuBa) Upload(ctx context.Context, block []byte) (metaurl string, err error)

func (*WuBa) UploadUsable

func (wb *WuBa) UploadUsable() bool

Jump to

Keyboard shortcuts

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