Documentation ¶
Index ¶
- Constants
- Variables
- func Delete(o orm.IModel) error
- func Find(o orm.IModel, filter *dbox.Filter) (dbox.ICursor, error)
- func Get(o orm.IModel, id interface{}) error
- func GetAccountList(search toolkit.M, hasPattern bool) ([]efs.Accounts, error)
- func GetComment(payload toolkit.M) []efs.Comments
- func GetConfig(key string, args ...string) interface{}
- func GetDB(key string) interface{}
- func GetLedgerTransFileList(search toolkit.M) ([]efs.LedgerTransFile, error)
- func GetLedgerTransFileOnProcess() ([]efs.LedgerTransFile, error)
- func GetLedgerTransList(search toolkit.M) ([]efs.LedgerTrans, error)
- func GetSVByRun(payload toolkit.M) (toolkit.M, error)
- func GetSVBySID(payload toolkit.M) (toolkit.Ms, error)
- func GetSVList(search toolkit.M) ([]efs.StatementVersion, error)
- func GetStatementList(search toolkit.M) ([]efs.Statements, error)
- func InitialSetDatabase() error
- func PrepareDefaultUser() (err error)
- func Save(o orm.IModel) error
- func SetConfig(key string, value interface{})
- func SetDB(value interface{})
- func SetPort(_port *Ports, value interface{}) error
- type Account
- type Comment
- type Configuration
- type Databases
- type LedgerTrans
- type LedgerTransFile
- type Login
- func (l *Login) Authenticate(payload toolkit.M) (toolkit.M, error)
- func (l *Login) GetConnectionInfo(db_type string) (string, *dbox.ConnectionInfo)
- func (l *Login) LoginProcess(payload toolkit.M) (string, error)
- func (l *Login) RecordID() interface{}
- func (l *Login) ResetPassword(payload toolkit.M) error
- func (l *Login) SavePassword(payload toolkit.M) error
- func (l *Login) TableName() string
- type Ports
- type Statement
- type StatementVersion
Constants ¶
View Source
const ( CONF_DB_ACL string = "db_acl" CONF_DB_EFS string = "db_efs" )
Variables ¶
View Source
var ConfigPath string
Functions ¶
func GetAccountList ¶
func GetLedgerTransFileList ¶
func GetLedgerTransFileList(search toolkit.M) ([]efs.LedgerTransFile, error)
func GetLedgerTransFileOnProcess ¶
func GetLedgerTransFileOnProcess() ([]efs.LedgerTransFile, error)
func GetLedgerTransList ¶
func GetLedgerTransList(search toolkit.M) ([]efs.LedgerTrans, error)
func GetStatementList ¶
func GetStatementList(search toolkit.M) ([]efs.Statements, error)
func InitialSetDatabase ¶
func InitialSetDatabase() error
func PrepareDefaultUser ¶
func PrepareDefaultUser() (err error)
Types ¶
type Configuration ¶
type Configuration struct { orm.ModelBase ID string `json:"_id",bson:"_id"` Value interface{} }
func (*Configuration) RecordID ¶
func (a *Configuration) RecordID() interface{}
func (*Configuration) TableName ¶
func (a *Configuration) TableName() string
type Databases ¶
type Databases struct { orm.ModelBase ID string `json:"_id",bson:"_id"` Data interface{} `json:"data",bson:"data"` }
type LedgerTrans ¶
type LedgerTrans struct {
efs.LedgerTrans
}
func (*LedgerTrans) GetById ¶
func (st *LedgerTrans) GetById() error
func (*LedgerTrans) Save ¶
func (st *LedgerTrans) Save() error
type LedgerTransFile ¶
type LedgerTransFile struct {
efs.LedgerTransFile
}
type Login ¶
func (*Login) GetConnectionInfo ¶
func (l *Login) GetConnectionInfo(db_type string) (string, *dbox.ConnectionInfo)
type Ports ¶
type Statement ¶
type Statement struct {
efs.Statements
}
type StatementVersion ¶
type StatementVersion struct {
efs.StatementVersion
}
func (*StatementVersion) Delete ¶
func (sv *StatementVersion) Delete() error
func (*StatementVersion) GetById ¶
func (sv *StatementVersion) GetById() error
Click to show internal directories.
Click to hide internal directories.