provider

package
v0.0.0-...-d9242b9 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 15 Imported by: 0

README

Providers

Builtins providers. They are faster and less memory consuming than the custom ones written in Lua.

Documentation

Index

Constants

View Source
const CustomProviderExtension = ".lua"

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	ID           string
	Name         string
	UsesHeadless bool
	IsCustom     bool
	CreateSource func() (source.Source, error)
}

func Builtins

func Builtins() []*Provider

func Customs

func Customs() []*Provider

func Get

func Get(name string) (*Provider, bool)

func (Provider) String

func (p Provider) String() string

Jump to

Keyboard shortcuts

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