sav_scrapy

package module
v0.0.0-...-db648dc Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main(gitVersion string) func(ctx *cli.Context) error

func ValidateConfig

func ValidateConfig(cfg *Config) error

Types

type Config

type Config struct {
	DBHost     string
	DBPort     uint64
	DBUser     string
	DBPassword string
	DBName     string

	/* Optional Params */
	OkLink              string
	DisableSavScrapy    bool
	LogLevel            string
	LogTerminal         bool
	ConfDepth           uint64
	RPCHostname         string
	RPCPort             uint64
	MetricsServerEnable bool
	MetricsHostname     string
	MetricsPort         uint64
}

func NewConfig

func NewConfig(ctx *cli.Context) (Config, error)

type SavourScrapy

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

func NewSavourScrapy

func NewSavourScrapy(cfg Config) (*SavourScrapy, error)

func (*SavourScrapy) Start

func (ss *SavourScrapy) Start() error

func (*SavourScrapy) Stop

func (ss *SavourScrapy) Stop()

Directories

Path Synopsis
proto
website

Jump to

Keyboard shortcuts

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