monler

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUnknownProvider = errors.New("monler: unknown provider")
)

Errors.

Functions

func Guess added in v0.4.0

func Guess(url string) ([]provider.Repo, error)

func GuessWithout added in v0.4.0

func GuessWithout(excluded []string, url string) ([]provider.Repo, error)

func Has added in v0.4.0

func Has(providerName string) bool

func IsMonler added in v0.4.0

func IsMonler(rawurl string) bool

func Open added in v0.4.0

func Open(providerName, url string) (provider.Repo, error)

func Parse added in v0.4.0

func Parse(uri string) (provider.Repo, error)

func Ping added in v0.4.0

func Ping(providerName, url string) error

func Providers added in v0.4.0

func Providers() []string

func Register added in v0.4.0

func Register(name string, provider provider.Provider)

Types

This section is empty.

Directories

Path Synopsis
git
npm

Jump to

Keyboard shortcuts

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