provider

package
v0.0.0-...-49d1c2b Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostProvider

type HostProvider interface {
	Init(map[string]interface{}) error
	// GetAllHosts() ([]string, error)
	GetActiveHosts() ([]string, error)
	GetBestHost() (string, error)
	RandomHost() (string, error)
}

func NewGithubProvider

func NewGithubProvider() HostProvider

Jump to

Keyboard shortcuts

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