database

package
v0.0.0-...-4343b11 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: GPL-3.0 Imports: 8 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