Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Datasource ¶
type Datasource struct { Name string `json:"name"` Driver string `json:"driver"` URL string `json:"url"` Schema string `json:"schema"` }
Datasource represents the metadata of a connection pool
type Persistence ¶
type Persistence struct {
Datasources []Datasource
}
Persistence represents the collection of datasources defined by the developer in persistence.json
func GetPersistenceConfig ¶
func GetPersistenceConfig(persistenceConfigFile string) Persistence
GetPersistenceConfig generates the persistence struct from persistence.json
Click to show internal directories.
Click to hide internal directories.