Added Index fient to the Route model

This commit is contained in:
Héctor Hurtado
2019-10-08 15:39:22 +02:00
parent 2eb32610a0
commit 4a258e74ce
+4
View File
@@ -22,4 +22,8 @@ type Route struct {
// Command is the last argument to be passed to exec.Command when
// executing the Entrypoint
Command string `json:"command"`
// Index is this route position in the server's routes list.
// It is an output field, its value is ignored as input.
Index int `json:"index"`
}