package
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: May 13, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
NewBackup create a backup instance.
type BackupReq struct {
AppID string `json:"appID"`
Page int `json:"page"`
Size int `json:"size"`
}
BackupReq is the request of export.
type BackupResp struct {
Result `json:",inline"`
Data Object `json:"data"`
Count int `json:"count"`
HasNext bool `json:"hasNext"`
}
BackupResp is the response of export.
type ImportReq struct {
Data Object `json:"data"`
}
type Object []interface{}
Object is the backup object.
type Result struct {
Permits Object `json:"permits"`
Schemas Object `json:"schemas"`
Roles Object `json:"roles"`
Tables Object `json:"tables"`
TableRelations Object `json:"tableRelations"`
}
Result is the result of export.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.