traefik/vendor/github.com/ArthurHlt/go-eureka-client/eureka/put.go
2017-03-09 13:13:02 +01:00

10 lines
223 B
Go

package eureka
import "strings"
func (c *Client) SendHeartbeat(appId, instanceId string) error {
values := []string{"apps", appId, instanceId}
path := strings.Join(values, "/")
_, err := c.Put(path, nil)
return err
}