data

package
v0.0.0-...-d818996 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DB *gorm.DB
)

Functions

func GetDB

func GetDB() *gorm.DB

func SetupDB

func SetupDB()

SetupDB opens a database and saves the reference to `Database` struct.

func SetupHydra

func SetupHydra()

Types

type Database

type Database struct {
	*gorm.DB
}

type HydraConfig

type HydraConfig struct {
	Admin  *client.Configuration
	Public *client.Configuration
}
var HydraInstance *HydraConfig

func GetHydraConfig

func GetHydraConfig() *HydraConfig

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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