model

package
v0.0.0-...-73d8c38 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IP

type IP struct {
	Data  string
	Type1 string
	Type2 string
	Speed int64
}

IP struct

func (*IP) Count

func (obj *IP) Count() int64

Count 统计ip数量

func (*IP) Del

func (obj *IP) Del()

Del 从数据库中删除ip

func (*IP) FindAll

func (obj *IP) FindAll() []*IP

FindAll 得到所有代理ip

func (*IP) Insert

func (obj *IP) Insert()

Insert 插入ip到数据库

type News

type News struct {
	Title   string
	Media   string
	URL     string
	PubTime string
	Content string
}

News 新闻数据

func (*News) Insert

func (obj *News) Insert()

Insert 插入新闻到数据库

type Solution

type Solution struct {
	Href    string
	Title   string
	Content string
}

Solution .

func (*Solution) Insert

func (obj *Solution) Insert()

Insert .

Jump to

Keyboard shortcuts

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