Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTaskChainRoutes ¶
func AddTaskChainRoutes(mux *http.ServeMux, service taskchainservice.Service)
AddTaskChainRoutes registers CRUD for task chains stored as VFS JSON files. GET /taskchains/list returns the relative paths of all chains in the chain VFS. GET/POST/PUT/DELETE /taskchains require query parameter "path" (relative VFS path, e.g. chain-explore.json). GET by logical id is not supported at HTTP layer; use path or call the in-process Service.Get(ref) which resolves logical ids.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.