types

package
v0.0.0-...-68c6e7f Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Anigo

type Anigo struct {
	Global map[string]interface{}
}

func (*Anigo) GetDirectUrl

func (a *Anigo) GetDirectUrl(url string) (string, bool)

func (*Anigo) GetDomain

func (a *Anigo) GetDomain(url string) (string, bool)

func (*Anigo) GetProviderNames

func (a *Anigo) GetProviderNames() ([]string, bool)

func (*Anigo) GetProviders

func (a *Anigo) GetProviders() ([]ProviderPlugin, bool)

func (*Anigo) GetServiceNames

func (a *Anigo) GetServiceNames() ([]string, bool)

func (*Anigo) GetServices

func (a *Anigo) GetServices() ([]ServicePlugin, bool)

func (*Anigo) UseService

func (a *Anigo) UseService(svc string, mod string, params ...string) (interface{}, bool)

type FloatingProcess

type FloatingProcess string

type PersistentProcess

type PersistentProcess string

type ProcessPlugin

type ProcessPlugin[_ PersistentProcess | FloatingProcess] struct {
	Handler func(*Anigo) error
	Test    func() []string
}

type ProviderPlugin

type ProviderPlugin struct {
	Handler func(domain string, url string) (directUrl string, ok bool)
	Test    func() []string
	Solvers []string
}

type ServicePlugin

type ServicePlugin struct {
	Handler func(mod string, params ...string) (interface{}, bool)
	Test    func() []string
	Solvers []string
}

Jump to

Keyboard shortcuts

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