glue

package
v0.0.0-...-1b8f325 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Configuration structure.

func NewCrawler

func NewCrawler(opts ...func(*Config)) *Config

func (*Config) GetCrawlerData

func (config *Config) GetCrawlerData() (*glue.GetCrawlerOutput, error)

func (*Config) ListCrawlers

func (config *Config) ListCrawlers() ([]string, error)

func (*Config) StartCrawler

func (config *Config) StartCrawler() error

type Option

type Option func(config *Config)

func SetCrawlerName

func SetCrawlerName(crawlerName string) Option

func SetLogger

func SetLogger(log *logrus.Logger) Option

func SetProfile

func SetProfile(profile string) Option

func SetRegion

func SetRegion(region string) Option

Jump to

Keyboard shortcuts

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