config

package
v0.0.0-...-43a32cb Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWholesalersData

func GetWholesalersData(config Data, log *logrus.Logger) database.Wholesalers

This function will return a wholesaler with all data needed for login, and web navigation We need this for extracting and saving data from his web server

Types

type Data

type Data struct {
	User         string
	Pass         string
	Searchpage   string
	Dburi        string
	Dbuser       string
	Dbpass       string
	NameSaler    string
	Endphrase    string
	Endphrasediv string
	Wholesalers  []string
	// contains filtered or unexported fields
}

func Get

func Get(path string, log *logrus.Logger) Data

Will get all data needed for login on database and web pages

Jump to

Keyboard shortcuts

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