biturl

package
v0.0.111 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitURL

type BitURL struct {
	URL string
}

BitURL Shortener Interface impl

func New

func New(url string) *BitURL

New creates a new BitURL

func (*BitURL) GetName

func (b *BitURL) GetName() string

ShortURL maks http post to biturl.top to get short url

func (*BitURL) SetupQuestions

func (b *BitURL) SetupQuestions() map[string]string

SetupQuestions will ask for user api key or something else

func (*BitURL) ShortURL

func (b *BitURL) ShortURL() (string, error)

ShortURL maks http post to biturl.top to get short url

Jump to

Keyboard shortcuts

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