Handler for Host CRUDL actions (#287)

This commit is contained in:
Todd Knight authored and GitHub committed 2020-08-20 08:20:26 -07:00
1 parent 8dad85fef4
commit d5678c4f80
33 files changed
+1944 -372

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ func ExampleNewHostCatalog() {
func ExampleNewHost() {
catalogPublicId := "sthc_1234"
host, _ := static.NewHost(catalogPublicId, "127.0.0.1")
host, _ := static.NewHost(catalogPublicId, static.WithAddress("127.0.0.1"))
fmt.Println(host.Address)
// Output:
// 127.0.0.1