Store and export the valid TTL values
This will be useful later on for validation purposes in the Terraform provider plugin.
This commit is contained in:
parent
ad529187f5
commit
557201c48a
1 changed files with 3 additions and 0 deletions
|
@ -2,6 +2,9 @@ package gonjalla
|
|||
|
||||
import "encoding/json"
|
||||
|
||||
// ValidTTL is an array containing all the valid TTL values
|
||||
var ValidTTL = []int{60, 300, 900, 3600, 10800, 21600, 86400}
|
||||
|
||||
// Record struct contains data returned by `list-records`
|
||||
type Record struct {
|
||||
ID int `json:"id"`
|
||||
|
|
Loading…
Reference in a new issue