Documentation ¶
Index ¶
- type Check
- type CheckByHostInfo
- func (cbhi *CheckByHostInfo) GetEndTime() string
- func (cbhi *CheckByHostInfo) GetHostIP() string
- func (cbhi *CheckByHostInfo) GetLoginName() string
- func (cbhi *CheckByHostInfo) GetPortNum() int
- func (cbhi *CheckByHostInfo) GetStartTime() string
- func (cbhi *CheckByHostInfo) GetStep() string
- func (cbhi *CheckByHostInfo) GetToken() string
- type ReviewAccuracy
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Check ¶
type Check struct { Token string `json:"token" binding:"required"` ServerID int `json:"server_id" binding:"required"` StartTime string `json:"start_time" binding:"required"` EndTime string `json:"end_time" binding:"required"` Step string `json:"step" binding:"required"` LoginName string `json:"login_name" binding:"required"` }
func (*Check) GetLoginName ¶ added in v1.1.1
GetLoginName returns the login name
func (*Check) GetStartTime ¶
GetStartTime returns the start time
type CheckByHostInfo ¶
type CheckByHostInfo struct { Token string `json:"token" binding:"required"` HostIP string `json:"host_ip" binding:"required"` PortNum int `json:"port_num" binding:"required"` StartTime string `json:"start_time" binding:"required"` EndTime string `json:"end_time" binding:"required"` Step string `json:"step" binding:"required"` LoginName string `json:"login_name" binding:"required"` }
func (*CheckByHostInfo) GetEndTime ¶
func (cbhi *CheckByHostInfo) GetEndTime() string
GetEndTime returns the end time
func (*CheckByHostInfo) GetHostIP ¶
func (cbhi *CheckByHostInfo) GetHostIP() string
GetLoginName returns the login name
func (*CheckByHostInfo) GetLoginName ¶ added in v1.1.1
func (cbhi *CheckByHostInfo) GetLoginName() string
GetLoginName returns the login name
func (*CheckByHostInfo) GetPortNum ¶
func (cbhi *CheckByHostInfo) GetPortNum() int
GetPortNum returns the port number
func (*CheckByHostInfo) GetStartTime ¶
func (cbhi *CheckByHostInfo) GetStartTime() string
GetStartTime returns the start time
func (*CheckByHostInfo) GetStep ¶
func (cbhi *CheckByHostInfo) GetStep() string
GetStep returns the step
func (*CheckByHostInfo) GetToken ¶ added in v1.1.1
func (cbhi *CheckByHostInfo) GetToken() string
GetToken returns the token
type ReviewAccuracy ¶ added in v1.1.1
type ReviewAccuracy struct { OperationID int `json:"operation_id" binding:"required"` Review int `json:"review" binding:"required"` }
func (*ReviewAccuracy) GetOperationID ¶ added in v1.1.1
func (ra *ReviewAccuracy) GetOperationID() int
GetOperationID returns the operation id
func (*ReviewAccuracy) GetReview ¶ added in v1.1.1
func (ra *ReviewAccuracy) GetReview() int
GetReview returns the review
Click to show internal directories.
Click to hide internal directories.