nginx

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(db *pgxpool.Pool, conf []byte, fileID int, source io.Reader, stat *Stat) (err error)

Types

type Config

type Config struct {
	Channels   int      `json:"channels"`
	Skip       string   `json:"skip"` // SkipRegExp
	Host       string   `json:"host"` // HostRegExp
	Format     string   `json:"format"`
	Fields     []string `json:"fields"`
	UTF8Prefix string   `json:"utf8_prefix"` // url with args encoded in utf8 (cp1251 used otherwise)
}

type Stat

type Stat struct {
	Total   int
	Skipped int
	Loaded  int
	First   int
	Last    int
}

Jump to

Keyboard shortcuts

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