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