pan_viper

package
v0.0.0-...-867eee7 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: LGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Vip

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

func GetVip

func GetVip() *Vip

func GetVipByUsername

func GetVipByUsername(username string) *Vip

func (*Vip) CreateSession

func (v *Vip) CreateSession() (err error)

func (*Vip) DeleteFile

func (v *Vip) DeleteFile(serverPath string) (err error)

func (*Vip) LinkByFid

func (v *Vip) LinkByFid(fid string) (link string, err error)

func (*Vip) LoadShareFilenameAndUk

func (v *Vip) LoadShareFilenameAndUk(link, secret string) (uk, filename string, share gson, err error)

func (*Vip) SaveFileByMd5

func (v *Vip) SaveFileByMd5(md5, sliceMd5, path string, contentLength int64) (fid string, fileSize int64, err error)

func (*Vip) Username

func (v *Vip) Username() string

Jump to

Keyboard shortcuts

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