sv_sharedlink

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkOpt

type LinkOpt func(opt *linkOptions) *linkOptions

func Expires

func Expires(at time.Time) LinkOpt

func Password

func Password(password string) LinkOpt

func Public

func Public() LinkOpt

func RemoveExpiration

func RemoveExpiration() LinkOpt

func TeamOnly

func TeamOnly() LinkOpt
type SharedLink interface {
	List() (links []mo_sharedlink.SharedLink, err error)
	ListByPath(path mo_path.DropboxPath) (links []mo_sharedlink.SharedLink, err error)
	Remove(link mo_sharedlink.SharedLink) (err error)
	Create(path mo_path.DropboxPath, opts ...LinkOpt) (link mo_sharedlink.SharedLink, err error)
	Update(link mo_sharedlink.SharedLink, opts ...LinkOpt) (updated mo_sharedlink.SharedLink, err error)
	Resolve(url mo_url.Url, password string) (entry mo_file.Entry, err error)
}

func New

Jump to

Keyboard shortcuts

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