Skip to content

liquidweb/liquidweb-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f94bc4b · Sep 27, 2023
Feb 19, 2021
Sep 26, 2023
Sep 26, 2023
Sep 26, 2023
Sep 26, 2023
Jan 25, 2021
Feb 19, 2021
Aug 18, 2019
Sep 24, 2023
Sep 16, 2019
Aug 15, 2019
Aug 15, 2019
Aug 15, 2019
Sep 16, 2019
Sep 16, 2019
Sep 26, 2023
Sep 26, 2023
Jan 25, 2021

Repository files navigation

Build Status

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)