Documentation ¶
Index ¶
Constants ¶
View Source
const ( Ping = "PING" Env = "ENV" Cwd = "CWD" InstanceIndex = "INDEX" StartedAt = "STARTED_AT" ListExperiments = "LIST_EXPERIMENTS" Experiments = "EXPERIMENTS" Hello = "HELLO" Exit = "EXIT" Curl = "CURL" MakeTmpFile = "MAKE_TMP_FILE" DeleteTmpFile = "DELETE_TMP_FILE" Stick = "STICK" Unstick = "UNSTICK" IncrementCounter = "INCREMENT_COUNTER" ReadCounter = "READ_COUNTER" MountFUSEFS = "MOUNT_FUSE_FS" ListFUSEFS = "LIST_FUSE_FS" Sleep = "SLEEP" )
Variables ¶
View Source
var Routes = rata.Routes{ {Path: "/", Method: "GET", Name: Hello}, {Path: "/ping", Method: "GET", Name: Ping}, {Path: "/env", Method: "GET", Name: Env}, {Path: "/cwd", Method: "GET", Name: Cwd}, {Path: "/started-at", Method: "GET", Name: StartedAt}, {Path: "/index", Method: "GET", Name: InstanceIndex}, {Path: "/file/:filename", Method: "POST", Name: MakeTmpFile}, {Path: "/file/:filename", Method: "DELETE", Name: DeleteTmpFile}, {Path: "/exit/:code", Method: "POST", Name: Exit}, {Path: "/curl", Method: "GET", Name: Curl}, {Path: "/experiments", Method: "GET", Name: ListExperiments}, {Path: "/experiments/:experiment", Method: "GET", Name: Experiments}, {Path: "/stick", Method: "GET", Name: Stick}, {Path: "/unstick", Method: "GET", Name: Unstick}, {Path: "/counter", Method: "POST", Name: IncrementCounter}, {Path: "/counter", Method: "GET", Name: ReadCounter}, {Path: "/fuse-fs/mount", Method: "POST", Name: MountFUSEFS}, {Path: "/fuse-fs/ls", Method: "GET", Name: ListFUSEFS}, {Path: "/sleep/:duration", Method: "GET", Name: Sleep}, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.