MCPcopy Index your code
hub / github.com/cloudflare/cloudflared / parseConnectionsDetails

Function parseConnectionsDetails

cfapi/tunnel.go:232–236  ·  view source on GitHub ↗
(reader io.Reader)

Source from the content-addressed store, hash-verified

230}
231
232func parseConnectionsDetails(reader io.Reader) ([]*ActiveClient, error) {
233 var clients []*ActiveClient
234 err := parseResponse(reader, &clients)
235 return clients, err
236}
237
238func (r *RESTClient) CleanupConnections(tunnelID uuid.UUID, params *CleanupParams) error {
239 endpoint := r.baseEndpoints.accountLevel

Callers 2

TestUnmarshalConnectionsFunction · 0.85
ListActiveClientsMethod · 0.85

Calls 1

parseResponseFunction · 0.85

Tested by 1

TestUnmarshalConnectionsFunction · 0.68