Function
agentChannelRecvValues
(query AgentChannelRecvQuery)
Source from the content-addressed store, hash-verified
| 5920 | } |
| 5921 | |
| 5922 | func agentChannelRecvValues(query AgentChannelRecvQuery) url.Values { |
| 5923 | values := url.Values{} |
| 5924 | if query.Wait { |
| 5925 | values.Set("wait", "true") |
| 5926 | } |
| 5927 | if query.Limit > 0 { |
| 5928 | values.Set("limit", strconv.Itoa(query.Limit)) |
| 5929 | } |
| 5930 | return values |
| 5931 | } |
| 5932 | |
| 5933 | func sessionEventValues(query SessionEventQuery) url.Values { |
| 5934 | values := url.Values{} |
Tested by
no test coverage detected