Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessAction ¶
func ProcessAction(agent, jsonString string)
ProcessAction performs request approval in given agent
func Register ¶
func Register(agent, fname string)
Register function upload given meta-data to the agent and register them in its TFC
func RegisterRequest ¶
RegisterRequest performs registration of transfer request in given agent (PULL mode)
func ShowRequests ¶
func ShowRequests(agent, rtype string)
ShowRequests list request of a given type from an agent
Types ¶
type ActionRequest ¶
type ActionRequest struct { Delay int `json:"delay"` // transfer delay time, i.e. post-pone transfer Id string `json:"id"` // unique id of each request Priority int `json:"priority"` // priority of request Action string `json:"action"` // which action to apply }
ActionRequest provides structure submitted by clients to perform certain action on main agent
type AgentFiles ¶
AgentFiles holds agent alias/url and list of files to transfer
Click to show internal directories.
Click to hide internal directories.