database

package
v0.3.10-0...-ba6868e Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2020 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func GetAllProxies

func GetAllProxies() (proxies proxy.ProxyList)

func InitTables

func InitTables()

func SaveProxyList

func SaveProxyList(pl proxy.ProxyList)

Types

type Proxy

type Proxy struct {
	gorm.Model
	proxy.Base
	Link       string
	Identifier string `gorm:"unique"`
}

Jump to

Keyboard shortcuts

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