repositorypackage
1.6.4
Repository: https://github.com/liquidweb/liquidweb-go.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
Usage
uesrname := "blars"
password := "tacoman"
url := "https://api.stormondemand.com"
api := storm.NewAPI(username, password, url)
// Get storm servers
api.StormServer.List()
// Create a storm server
stormServerParams := &storm.StormServerParams{
configID: 123,
hostname: "blars.tacoman.com"
zoneID: 123,
password: "123",
publicKey: "yourkey"
}
stormServer, err := api.StormServer.Create(stormServerParams)
if err != nil {
fmt.Errorf("Error creating storm server %v", err)
}
fmt.Println(stormServer.UniqID)