bunkr

package
v0.0.0-...-d2b513c Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package bunkr contains functions that can be used to accurately extract and validate Bunkr links.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(res string) string

Convert takes a slice of bunkr links that use varying domains and converts them to an active domain that can be used.

func Delegate

func Delegate(res string) ([]string, error)

Delegate takes a string as an argument and returns a slice of valid Senvid links found within the response (if any) and an error

func Extract

func Extract(res string) ([]string, error)

Extract returns a slice of all Bunkr links contained within a string, if any.

func Validate

func Validate(x string) (bool, error)

Validate performs a GET request to the Bunkr URL and uses the response status code to identify its validity

Types

This section is empty.

Jump to

Keyboard shortcuts

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