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)
-
Notifications
You must be signed in to change notification settings - Fork 1
Golang API client for Liquid Web's Storm API
License
liquidweb/liquidweb-go
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Golang API client for Liquid Web's Storm API
Topics
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published