qiniu

package
v0.0.0-...-12d990b Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Qiniu

type Qiniu struct {
	*setting.App
	*setting.Qiniu
}

func (*Qiniu) CheckExts

func (q *Qiniu) CheckExts(filename string) bool

func (*Qiniu) CheckSize

func (q *Qiniu) CheckSize(file multipart.File) bool

func (*Qiniu) Delete

func (q *Qiniu) Delete(name ...string) (int, error)

func (*Qiniu) GetAccessUrl

func (q *Qiniu) GetAccessUrl(prefix, name string) string

func (*Qiniu) Save

func (q *Qiniu) Save(p string, header *multipart.FileHeader) error

Jump to

Keyboard shortcuts

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