source

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFacade

func NewFacade(sources ...Source) domain.Source

Creates a new facade which will call the appropriate source when calling Fetch or Prepare.

Types

type Source

type Source interface {
	domain.Source
	CanPrepare(any) bool
	CanFetch(domain.SourceData) bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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