api

package
v0.0.0-...-c3b309f Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package api handles invocations to backend APIs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateByteLink(sourceURL string, customLink string) (string, error)

GenerateByteLink creates a byte-link of the given source URL. If a custom link is specified, it tries to use the custom link as the byte-link.

func GetOriginalURL

func GetOriginalURL(byteLink string) (string, error)

GetOriginalURL returns the original URL that the given byte-link is mapped to.

Types

This section is empty.

Jump to

Keyboard shortcuts

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