mysql

package
v0.0.0-...-b6a2cce Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDBHandler

func GetDBHandler() *sql.DB

func NewMysqlConnector

func NewMysqlConnector() ImportExporter

func Noop

func Noop()

Types

type DBConnector

type DBConnector struct {
	DB *sql.DB
}

func (DBConnector) BulkInsertProxyIPs

func (d DBConnector) BulkInsertProxyIPs(ips []ProxyIP) error

func (DBConnector) GetLimitProxyIP

func (d DBConnector) GetLimitProxyIP(limit int) ([]string, error)

Jump to

Keyboard shortcuts

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