index

package
v3.15.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2018 License: Apache-2.0, Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sql.DB

Functions

func GetDbConn

func GetDbConn() (conn *sql.DB, err error)

func InitDB

func InitDB()

func Start

func Start()

初始化索引功能模块

func StartIndexUpdateAllTask

func StartIndexUpdateAllTask()

启动 索引全量更新 定时任务

func UpdateAllIndex

func UpdateAllIndex()

手动触发全量更新

func UpdateIndexOfOneGraph

func UpdateIndexOfOneGraph(graphAddr string, src string)

Types

type Dto

type Dto struct {
	Msg  string `json:"msg"`
	Data string `json:"data"`
}

Jump to

Keyboard shortcuts

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