Documentation ¶
Index ¶
- func FormatClientTime(c *model.Client) types.ClientWithFormattedTime
- func FormatServerTime(s *model.Server) types.ServerWithFormattedTime
- func FormatTaskTime(t *model.Task) types.TaskWithFormattedTime
- func GetClientProgress(c *gin.Context)
- func GetServerProgress(c *gin.Context)
- func GetTask(c *gin.Context)
- func GetTaskList(c *gin.Context)
- func HandleGrpcErrorToHttp(c *gin.Context, err error)
- func HandleHttpResponse(c *gin.Context, code int, xcode int, data interface{})
- func HandleValidatorError(c *gin.Context, err error)
- func Train(c *gin.Context)
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatClientTime ¶
func FormatClientTime(c *model.Client) types.ClientWithFormattedTime
func FormatServerTime ¶
func FormatServerTime(s *model.Server) types.ServerWithFormattedTime
func FormatTaskTime ¶
func FormatTaskTime(t *model.Task) types.TaskWithFormattedTime
func GetClientProgress ¶
func GetServerProgress ¶
func GetTaskList ¶
func HandleGrpcErrorToHttp ¶
func HandleHttpResponse ¶
func HandleValidatorError ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.