Documentation ¶
Index ¶
- Constants
- Variables
- func Authenticate(payload toolkit.M) (toolkit.M, error)
- func ChangePass(payload toolkit.M) error
- func Delete(o orm.IModel) error
- func DeleteAccess(payload toolkit.M) error
- func DeleteGroup(payload toolkit.M) error
- func DeleteUser(payload toolkit.M) error
- func EditGroup(payload toolkit.M) (toolkit.M, error)
- func EditUser(payload toolkit.M) (toolkit.M, error)
- func FilterParse(where toolkit.M) *dbox.Filter
- func Find(o orm.IModel, filter *dbox.Filter) (dbox.ICursor, error)
- func FindAccess(payload toolkit.M) (toolkit.M, error)
- func Get(o orm.IModel, id interface{}) error
- func GetAccess(payload toolkit.M) (toolkit.M, error)
- func GetAccessGroup(payload toolkit.M) ([]interface{}, error)
- func GetAccessMenu(sessionId interface{}) ([]toolkit.M, error)
- func GetAccessUser(payload toolkit.M) ([]interface{}, error)
- func GetChildMenu(sessionId interface{}, childMenu []Menu) (interface{}, error)
- func GetConfig(key string, args ...string) interface{}
- func GetDB(key string) interface{}
- func GetFileList(search toolkit.M) ([]gdrj.UploadData, error)
- func GetGroup() ([]toolkit.M, error)
- func GetSession(payload toolkit.M) (toolkit.M, error)
- func GetTableList() (toolkit.Ms, error)
- func GetUser(payload toolkit.M) (toolkit.M, error)
- func GetUserName(sessionId interface{}) (tUser acl.User, err error)
- func Getaccessdropdown() ([]toolkit.M, error)
- func InitialSetDatabase() error
- func LoginProcess(payload toolkit.M) (string, error)
- func PrepareDefaultUser() (err error)
- func Query(driver string, host string, other ...interface{}) *queryWrapper
- func ResetPassword(payload toolkit.M) error
- func Save(o orm.IModel) error
- func SaveAccess(payload toolkit.M) error
- func SaveGroup(payload toolkit.M) error
- func SavePassword(payload toolkit.M) error
- func SaveUser(payload toolkit.M) error
- func SearchGroup(payload toolkit.M) (toolkit.M, error)
- func SetConfig(key string, value interface{})
- func SetDB(value interface{})
- func SetExpired(payload toolkit.M) error
- func SetPort(_port *Ports, value interface{}) error
- type Configuration
- type DataBrowser
- type Databases
- type Login
- type Menu
- type MetaSave
- type Ports
- type StructInfo
Constants ¶
View Source
const ( CONF_DB_ACL string = "db_acl" CONF_DB_GDRJ string = "db_godrej" )
Variables ¶
View Source
var ConfigPath string
Functions ¶
func ChangePass ¶
func DeleteAccess ¶
func DeleteGroup ¶
func DeleteUser ¶
func GetAccessGroup ¶
func GetAccessMenu ¶
func GetAccessUser ¶
func GetChildMenu ¶
func GetFileList ¶
func GetTableList ¶
func GetUserName ¶
func Getaccessdropdown ¶
func InitialSetDatabase ¶
func InitialSetDatabase() error
func PrepareDefaultUser ¶
func PrepareDefaultUser() (err error)
func ResetPassword ¶
func SaveAccess ¶
func SavePassword ¶
func SetExpired ¶
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 DataBrowser ¶
type DataBrowser struct { orm.ModelBase ID string `json:"_id",bson:"_id"` TableNames string IsAdd bool IsEdit bool MetaData []*StructInfo }
func ConnectToDatabase ¶
func GetDataBrowserList ¶
func GetDataBrowserList() ([]DataBrowser, error)
func (*DataBrowser) RecordID ¶
func (b *DataBrowser) RecordID() interface{}
func (*DataBrowser) TableName ¶
func (b *DataBrowser) TableName() string
type Databases ¶
type Databases struct { orm.ModelBase ID string `json:"_id",bson:"_id"` Data interface{} `json:"data",bson:"data"` }
type Login ¶
func (*Login) GetConnectionInfo ¶
func (l *Login) GetConnectionInfo(db_type string) (string, *dbox.ConnectionInfo)
type Menu ¶
Click to show internal directories.
Click to hide internal directories.