param

package
v0.0.0-...-9b343ff Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 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 ExecutionMode

type ExecutionMode int
const (
	ColdStartMode ExecutionMode = iota
	RegularUpdateMode
	DirectlyExitMode
)

func CrawlerModeFromString

func CrawlerModeFromString(modeStr string) (mode ExecutionMode, err error)

func (ExecutionMode) String

func (mode ExecutionMode) String() string

type Params

type Params struct {
	Mode                    ExecutionMode
	ColdStartIntervalInDays int
}

func GetParams

func GetParams() (params Params)

Jump to

Keyboard shortcuts

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