Documentation ¶ Index ¶ func GetDB() *gorm.DB func GetDb(exclude string) ([]byte, error) func ImportDB(file multipart.File) error func InitDB(dbPath string) error func IsNotFound(err error) bool func IsSQLiteDB(file io.Reader) (bool, error) func OpenDB(dbPath string) error func SendSighup() error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GetDB ¶ func GetDB() *gorm.DB func GetDb ¶ func GetDb(exclude string) ([]byte, error) func ImportDB ¶ func ImportDB(file multipart.File) error func InitDB ¶ func InitDB(dbPath string) error func IsNotFound ¶ func IsNotFound(err error) bool func IsSQLiteDB ¶ func IsSQLiteDB(file io.Reader) (bool, error) func OpenDB ¶ func OpenDB(dbPath string) error func SendSighup ¶ func SendSighup() error Types ¶ This section is empty. Source Files ¶ View all Source files backup.godb.go Directories ¶ Show internal Expand all Path Synopsis model Click to show internal directories. Click to hide internal directories.