Documentation ¶
Index ¶
- func AlarmDel(idx string) error
- func AlarmGen(alarm nerr.PublicAlarm, isRecovery bool, ext ...string) error
- func AlarmTag(idx string, tag string) error
- func AuditDel(idx string) error
- func AuditGen(user string, opt string, obj string, address string, result ...string) error
- func UserAdd(name string, pwd string) error
- func UserUpdate(name string, pwd string) error
- type Alarm
- type AlarmType
- type Audit
- type AuditType
- type USER_LEVEL
- type UserInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UserUpdate ¶
Types ¶
type Alarm ¶
type Alarm struct { Idx string `json:"idx"` ID int `json:"id"` Date string `json:"date"` Type string `json:"type"` Level string `json:"level"` Detail string `json:"detail"` Status string `json:"status"` Tag string `json:"tag"` }
func AlarmAllGet ¶
type Audit ¶
type Audit struct { Idx string `json:"idx"` Date string `json:"date"` User string `json:"user"` Option string `json:"option"` Object string `json:"object"` Addr string `json:"address"` Result string `json:"result"` }
func AuditAllGet ¶
Click to show internal directories.
Click to hide internal directories.