factory

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2021 License: AGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultTimeouts    = 1 * time.Second
	DefaultRateLimiter = "naive"
)

some defaults

Functions

func ListBuilder

func ListBuilder(cfg *config.XListCfg, apisvc apiservice.Discover, logger yalogi.Logger) (*xlistd.Builder, error)

ListBuilder is a factory for an xlist builder

func Lists

func Lists(cfg *config.XListCfg, builder *xlistd.Builder, logger yalogi.Logger) error

Lists creates lists from configuration files

func SetupDNSxL

func SetupDNSxL(cfg *config.DNSxLCfg) error

SetupDNSxL configures module

func SetupSBLookup

func SetupSBLookup(cfg *config.SBLookupCfg, logger yalogi.Logger) error

SetupSBLookup configures module

func XLGet

func XLGet(cfg *config.XLGetCfg, logger yalogi.Logger) (*xlget.Manager, error)

XLGet is a factory for an xlget manager

func XListCheckAPI

func XListCheckAPI(cfg *config.XListCheckAPICfg, finder *xlistd.Builder, logger yalogi.Logger) (*checkapi.Service, error)

XListCheckAPI creates grpc service

Types

This section is empty.

Jump to

Keyboard shortcuts

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