index

package
v3.14.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2017 License: Apache-2.0, Apache-2.0 Imports: 13 Imported by: 6

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