sharedlink

package
v1.81.0 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Error = errs.Class("sharedlink")

Error is a class of sharedlink errors.

Functions

This section is empty.

Types

type Link struct {
	AccessKey string
}

Link is a parsed link from Linksharing, or S3 presigned.

func Parse

func Parse(rawURL string) (*Link, error)

Parse parses a raw URL and returns a Link. It supports Linksharing links with /s or /raw path prefix, or S3 presigned V2 or V4 links.

Currently it only parses the access key.

Jump to

Keyboard shortcuts

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