db

package
v0.0.0-...-11e63cd Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: MulanPSL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustDelPingRecordDB

func MustDelPingRecordDB(ip net.IP)

MustDelPingRecordDB 删除Ping记录的数据文件,删除前需要先关闭db连接

func MustObtainMainDB

func MustObtainMainDB() *gorm.DB

MustObtainMainDB

func MustOpenPingRecordDB

func MustOpenPingRecordDB(ip net.IP) *gorm.DB

MustOpenPingRecordDB

func ReleaseMainDB

func ReleaseMainDB()

Types

This section is empty.

Jump to

Keyboard shortcuts

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