routeManager

package
v0.0.0-...-b5b6fb0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePayload

func ParsePayload(c *gin.Context, bind interface{}) error

func RegisterTask

func RegisterTask(c *gin.Context)

func RegisterWorker

func RegisterWorker(c *gin.Context)

Types

type RegisterTaskRequest

type RegisterTaskRequest struct {
	RunnerHost string `json:"runnerHost"`
	RunnerType string `json:"runnerType"`
	Cmd        string `json:"cmd"`
}

type RegisterWorkerRequest

type RegisterWorkerRequest struct {
	Host string `json:"host"`
}

Jump to

Keyboard shortcuts

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