Documentation ¶
Index ¶
- func CampusGoClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForCreateTasks() *def.HttpRequestDef
- func GenReqDefForDeleteTask() *def.HttpRequestDef
- func GenReqDefForListTasksDetails() *def.HttpRequestDef
- func GenReqDefForShowTask() *def.HttpRequestDef
- type CampusGoClient
- func (c *CampusGoClient) CreateTasks(request *model.CreateTasksRequest) (*model.CreateTasksResponse, error)
- func (c *CampusGoClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
- func (c *CampusGoClient) ListTasksDetails(request *model.ListTasksDetailsRequest) (*model.ListTasksDetailsResponse, error)
- func (c *CampusGoClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CampusGoClientBuilder ¶
func CampusGoClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForCreateTasks ¶
func GenReqDefForCreateTasks() *def.HttpRequestDef
func GenReqDefForDeleteTask ¶
func GenReqDefForDeleteTask() *def.HttpRequestDef
func GenReqDefForListTasksDetails ¶
func GenReqDefForListTasksDetails() *def.HttpRequestDef
func GenReqDefForShowTask ¶
func GenReqDefForShowTask() *def.HttpRequestDef
Types ¶
type CampusGoClient ¶
type CampusGoClient struct {
HcClient *http_client.HcHttpClient
}
func NewCampusGoClient ¶
func NewCampusGoClient(hcClient *http_client.HcHttpClient) *CampusGoClient
func (*CampusGoClient) CreateTasks ¶
func (c *CampusGoClient) CreateTasks(request *model.CreateTasksRequest) (*model.CreateTasksResponse, error)
该接口用于创建服务作业
func (*CampusGoClient) DeleteTask ¶
func (c *CampusGoClient) DeleteTask(request *model.DeleteTaskRequest) (*model.DeleteTaskResponse, error)
该接口用于删除服务作业
func (*CampusGoClient) ListTasksDetails ¶
func (c *CampusGoClient) ListTasksDetails(request *model.ListTasksDetailsRequest) (*model.ListTasksDetailsResponse, error)
该接口用于获取服务作业列表
func (*CampusGoClient) ShowTask ¶
func (c *CampusGoClient) ShowTask(request *model.ShowTaskRequest) (*model.ShowTaskResponse, error)
该接口用于查询服务作业
Click to show internal directories.
Click to hide internal directories.