Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DB *gorm.DB
)
Functions ¶
func SetupDB ¶
func SetupDB()
SetupDB opens a database and saves the reference to `Database` struct.
func SetupHydra ¶
func SetupHydra()
Types ¶
type HydraConfig ¶
type HydraConfig struct {
Admin *client.Configuration
Public *client.Configuration
}
var HydraInstance *HydraConfig
func GetHydraConfig ¶
func GetHydraConfig() *HydraConfig
Click to show internal directories.
Click to hide internal directories.