Documentation ¶
Index ¶
Constants ¶
View Source
const ( GoInceptionErrorLevelSuccess = iota GoInceptionErrorLevelWarn GoInceptionErrorLevelError )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoInceptionResult ¶
type GoInceptionResult struct { OrderId int64 `json:"order_id"` Stage string `json:"stage"` ErrorLevel int64 `json:"error_level"` StageStatus string `json:"stage_status"` ErrorMessage string `json:"error_message"` ExecSql string `json:"exec_sql"` LogicSql string `json:"logic_sql"` AffectedRows int64 `json:"affected_rows"` Sequence string `json:"sequence"` BackupDbname string `json:"backup_dbname"` ExecuteTime float64 `json:"execute_time"` Sqlsha1 string `json:"sqlsha1"` BackupTime float64 `json:"backup_time"` }
func NewGoInceptionResult ¶
func NewGoInceptionResult(orderId, stage, errorLevel, stageStatus, errorMessage, execSql, affectedRows, sequence, backupDbname, executeTime, sqlsha1, backupTime string) (*GoInceptionResult, error)
type LdapUser ¶
type LdapUser struct { DN string `json:"dn"` UserPassword string `json:"userPassword"` GivenName string `json:"givenName"` HomeDirectory string `json:"homeDirectory"` UidNumber string `json:"uidNumber"` GidNumber string `json:"gidNumber"` SN string `json:"sn"` Mail string `json:"mail"` Uid string `json:"uid"` CN string `json:"cn"` }
type LdapUserV2 ¶
type LdapUserV2 struct { DN string `json:"dn"` Uid string `json:"uid"` Mail string `json:"mail"` TelephoneNumber string `json:"telephoneNumber"` EmployeeNumber string `json:"employeeNumber"` DisplayName string `json:"displayName"` Mobile string `json:"mobile"` SN string `json:"sn"` CN string `json:"cn"` ObjectClass string `json:"objectClass"` UserPassword string `json:"userPassword"` }
func NewLdapUserV2 ¶
func NewLdapUserV2(fieldValueMap map[string]string) (*LdapUserV2, error)
func (*LdapUserV2) GetNameEn ¶
func (this *LdapUserV2) GetNameEn() string
func (*LdapUserV2) GetNameZh ¶
func (this *LdapUserV2) GetNameZh() string
Click to show internal directories.
Click to hide internal directories.