support

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WpmDataSource

type WpmDataSource struct {
	markup.Component `class:"starter-gorm-source-registry"`

	DM             datasource.DriverManager `inject:"#starter-gorm-driver-manager"`
	AppDataService service.AppDataService   `inject:"#AppDataService"`

	Driver   string `inject:"${datasource.wpm.driver}"`
	Host     string `inject:"${datasource.wpm.host}"`
	Port     int    `inject:"${datasource.wpm.port}"`
	UserName string `inject:"${datasource.wpm.username}"`
	Password string `inject:"${datasource.wpm.password}"`
	Database string `inject:"${datasource.wpm.database}"`
	// contains filtered or unexported fields
}

WpmDataSource ...

func (*WpmDataSource) Close

func (inst *WpmDataSource) Close() error

Close ...

func (*WpmDataSource) DB

func (inst *WpmDataSource) DB() (*gorm.DB, error)

DB ...

func (*WpmDataSource) ListSources

func (inst *WpmDataSource) ListSources() []*datasource.SourceRegistration

ListSources ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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