healthcheck

package
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

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) GetEndTime

func (c *Check) GetEndTime() string

GetEndTime returns the end time

func (*Check) GetLoginName added in v1.1.1

func (c *Check) GetLoginName() string

GetLoginName returns the login name

func (*Check) GetServerID

func (c *Check) GetServerID() int

GetServerID returns the server id

func (*Check) GetStartTime

func (c *Check) GetStartTime() string

GetStartTime returns the start time

func (*Check) GetStep

func (c *Check) GetStep() string

GetStep returns the step

func (*Check) GetToken added in v1.1.1

func (c *Check) GetToken() string

GetToken returns the token

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL