Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InjectDbfactroy ¶
func InjectDbfactroy(s *Dbfactroy)
func LoadDbfactroy ¶
func LoadDbfactroy() baseiface.ISingleton
Types ¶
type Dbfactroy ¶
type Dbfactroy struct { basedto.BaseEntity `gorm:"-"` /* */ Id int32 `gorm:"column:id;type:int(11);PRIMARY_KEY;comment:''" json:"id"` /* */ ConnectName string `gorm:"column:connect_name;type:varchar(255);comment:''" json:"connect_name"` /* */ Dbtype string `gorm:"column:dbtype;type:varchar(255);comment:''" json:"dbtype"` /* */ Dbname string `gorm:"column:dbname;type:varchar(255);comment:''" json:"dbname"` /* */ Host string `gorm:"column:host;type:varchar(255);comment:''" json:"host"` /* */ Port int32 `gorm:"column:port;type:int(255);comment:''" json:"port"` /* */ Username string `gorm:"column:username;type:varchar(255);comment:''" json:"username"` /* */ Password string `gorm:"column:password;type:varchar(255);comment:''" json:"password"` /* */ Charset string `gorm:"column:charset;type:varchar(255);comment:''" json:"charset"` }
func FindBeanDbfactroy ¶
func FindBeanDbfactroy() *Dbfactroy
func NewDbfactroy ¶
func NewDbfactroy() *Dbfactroy
func (*Dbfactroy) UnmarshalBy ¶
type DbfactroyEntity ¶
type DbfactroyEntity struct { /* */ Id int32 `gorm:"column:id;type:int(11);PRIMARY_KEY;comment:''" json:"id"` /* */ ConnectName string `gorm:"column:connect_name;type:varchar(255);comment:''" json:"connect_name"` /* */ Dbtype string `gorm:"column:dbtype;type:varchar(255);comment:''" json:"dbtype"` /* */ Dbname string `gorm:"column:dbname;type:varchar(255);comment:''" json:"dbname"` /* */ Host string `gorm:"column:host;type:varchar(255);comment:''" json:"host"` /* */ Port int32 `gorm:"column:port;type:int(255);comment:''" json:"port"` /* */ Username string `gorm:"column:username;type:varchar(255);comment:''" json:"username"` /* */ Password string `gorm:"column:password;type:varchar(255);comment:''" json:"password"` /* */ Charset string `gorm:"column:charset;type:varchar(255);comment:''" json:"charset"` }
type DbfactroyParams ¶
type DbfactroyParams struct { /* */ Id *int32 `gorm:"column:id;type:int(11);PRIMARY_KEY;comment:''" json:"id"` /* */ ConnectName *string `gorm:"column:connect_name;type:varchar(255);comment:''" json:"connect_name"` /* */ Dbtype *string `gorm:"column:dbtype;type:varchar(255);comment:''" json:"dbtype"` /* */ Dbname *string `gorm:"column:dbname;type:varchar(255);comment:''" json:"dbname"` /* */ Host *string `gorm:"column:host;type:varchar(255);comment:''" json:"host"` /* */ Port *int32 `gorm:"column:port;type:int(255);comment:''" json:"port"` /* */ Username *string `gorm:"column:username;type:varchar(255);comment:''" json:"username"` /* */ Password *string `gorm:"column:password;type:varchar(255);comment:''" json:"password"` /* */ Charset *string `gorm:"column:charset;type:varchar(255);comment:''" json:"charset"` }
Click to show internal directories.
Click to hide internal directories.