Vendor integration dependencies.
This commit is contained in:
parent
dd5e3fba01
commit
55b57c736b
2451 changed files with 731611 additions and 0 deletions
10
integration/vendor/github.com/ArthurHlt/go-eureka-client/eureka/put.go
generated
vendored
Normal file
10
integration/vendor/github.com/ArthurHlt/go-eureka-client/eureka/put.go
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue