store

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 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 DataSource

type DataSource struct {
	markup.Component `id:"ptable-data-source" initMethod:"Open" destroyMethod:"Close"`

	Env   context.Environment `inject:"#env"`
	Repos []ptable.Repository `inject:".ptable-repository"`
	// contains filtered or unexported fields
}

DataSource for GIE

func (*DataSource) Close

func (inst *DataSource) Close() error

Close DS

func (*DataSource) GetDatabase

func (inst *DataSource) GetDatabase() ptable.Database

GetDatabase 取数据库

func (*DataSource) GetSession

func (inst *DataSource) GetSession() ptable.Session

GetSession 取会话

func (*DataSource) Open

func (inst *DataSource) Open() error

Open DS

Jump to

Keyboard shortcuts

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