db

package
v3.0.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2019 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(item bson.M)

func AddZLItem

func AddZLItem(items []interface{})

func GetClient

func GetClient() *mongo.Client

func GetCtx

func GetCtx() context.Context

func GetInstance

func GetInstance() *singleton

func GetLianjiaStatus

func GetLianjiaStatus() int

func GetLianjiaZuFangStatus

func GetLianjiaZuFangStatus() int

func GetZhilianStatus

func GetZhilianStatus() (int, int)

func SetLianjiaStatus

func SetLianjiaStatus(i int)

func SetLianjiaZuFangStatus

func SetLianjiaZuFangStatus(i int)

func SetZhilianStatus

func SetZhilianStatus(cityIndex int, kwIndex int)

func Update

func Update(link string, m bson.M)

Types

This section is empty.

Jump to

Keyboard shortcuts

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