Documentation ¶
Index ¶
Constants ¶
View Source
const ( HttpReadTimeout = 10 * time.Second HttpWriteTimeout = 10 * time.Second )
View Source
const (
GraceStopTimeout = time.Second * 5
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdminServer ¶
type AdminServer struct { }
func (AdminServer) GetAgentsHandler ¶
func (s AdminServer) GetAgentsHandler(c *gin.Context)
func (AdminServer) HandleRequest ¶
func (s AdminServer) HandleRequest(c *gin.Context)
func (AdminServer) LeaderHandler ¶
func (s AdminServer) LeaderHandler(c *gin.Context)
type ApiServer ¶
type ApiServer struct { }
func (ApiServer) CreateJobHandler ¶
func (ApiServer) DeleteJobHandler ¶
Click to show internal directories.
Click to hide internal directories.