func (c *Client) UpsertProxy(s services.Server, ttl time.Duration) error {
	args := upsertServerReq{
		Server: s,
		TTL:    ttl,
	}
	_, err := c.PostJSON(c.Endpoint("proxies"), args)
	return trace.Wrap(err)
}
// UpsertProxy is used by proxies to report their presense
// to other auth servers in form of hearbeat expiring after ttl period.
UpsertProxy is used by proxies to report their presense
to other auth servers in form of hearbeat expiring after ttl period.
// UpsertProxy is used by proxies to report their presense // to other auth servers in form of hearbeat expiring after ttl period .
func (c *Client) UpsertProxy(s services.Server, ttl time.Duration) error {
	args := upsertServerReq{
		Server: s,
		TTL:    ttl,
	}
	_, err := c.PostJSON(c.Endpoint("proxies"), args)
	return trace.Wrap(err)
}
func ( c * Client ) UpsertProxy ( s services . Server , ttl time . Duration ) error { args := upsertServerReq { Server : s , TTL : ttl , } _ , err := c . PostJSON ( c . Endpoint ( " " ) , args ) return trace . Wrap ( err ) }
UpsertProxy is used by proxies to report their presense
to other auth servers in form of hearbeat expiring after ttl period.
UpsertProxy is used by proxies to report their presense to other auth servers in form of hearbeat expiring after ttl period .