Documentation ¶
Index ¶
- type IMongoExportService
- type IMongoImportService
- type IMysqlExportService
- type ImysqlImportService
- type MongoExportService
- type MongoImportService
- func (srv *MongoImportService) Delete(uid []int64) (err error)
- func (srv *MongoImportService) ImportDatabase(database string, dataDir string) error
- func (srv *MongoImportService) ImportDb4file(p string) (err error)
- func (srv *MongoImportService) RmSenInfo(updtfields model.UpdtFields, uid []int64) error
- type MysqlExportService
- type MysqlImportService
- func (srv *MysqlImportService) Delete(uid []int64) (err error)
- func (srv *MysqlImportService) ImportDatabase(database string, dataDir string) (err error)
- func (srv *MysqlImportService) ImportDb4file(dataDir string) (err error)
- func (srv *MysqlImportService) RmSenInfo(updtfields []int64, uid []int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IMongoExportService ¶
type IMongoImportService ¶
type IMysqlExportService ¶
type ImysqlImportService ¶
type MongoExportService ¶
func (*MongoExportService) ExportDbByKey ¶
func (srv *MongoExportService) ExportDbByKey(key, value string) (err error)
func (*MongoExportService) ExportDbByUid ¶
func (srv *MongoExportService) ExportDbByUid(uid []int64) (err error)
func (*MongoExportService) ExportTable ¶
func (srv *MongoExportService) ExportTable(database string, tables []string, dataDir string) (err error)
type MongoImportService ¶
func (*MongoImportService) Delete ¶
func (srv *MongoImportService) Delete(uid []int64) (err error)
func (*MongoImportService) ImportDatabase ¶
func (srv *MongoImportService) ImportDatabase(database string, dataDir string) error
func (*MongoImportService) ImportDb4file ¶
func (srv *MongoImportService) ImportDb4file(p string) (err error)
func (*MongoImportService) RmSenInfo ¶
func (srv *MongoImportService) RmSenInfo(updtfields model.UpdtFields, uid []int64) error
type MysqlExportService ¶
func (*MysqlExportService) ExportDbByKey ¶
func (srv *MysqlExportService) ExportDbByKey(key, value string) (err error)
func (*MysqlExportService) ExportDbByUid ¶
func (srv *MysqlExportService) ExportDbByUid(uid []int64) (err error)
ExportDbByUid 通过输入uid,然后连接数据库,选择表,获取数据,最后将获取的数据进行打包成文件格式
func (*MysqlExportService) ExportTable ¶
func (srv *MysqlExportService) ExportTable(database string, tables []string, dataDir string) (err error)
type MysqlImportService ¶
func (*MysqlImportService) Delete ¶
func (srv *MysqlImportService) Delete(uid []int64) (err error)
func (*MysqlImportService) ImportDatabase ¶
func (srv *MysqlImportService) ImportDatabase(database string, dataDir string) (err error)
func (*MysqlImportService) ImportDb4file ¶
func (srv *MysqlImportService) ImportDb4file(dataDir string) (err error)
Click to show internal directories.
Click to hide internal directories.