Versions in this module Expand all Collapse all v0 v0.7.4 Feb 28, 2019 v0.7.3 Jan 28, 2019 v0.7.2 Jan 28, 2019 v0.7.1 Jan 28, 2019 v0.7.0 Jan 26, 2019 Changes in this version + var Config edgegrid.Config + func Init(config edgegrid.Config) + type Collection struct + ContractId string + Description string + Dirty bool + DirtyACL []string + GrantedACL []string + GroupId int + Id int + KeyCount int + Name string + Quota Quota + func CollectionAclAllow(collectionId int, acl []string) (*Collection, error) + func CollectionAclDeny(collectionId int, acl []string) (*Collection, error) + func CollectionSetQuota(collectionId int, value int) (*Collection, error) + func CreateCollection(options *CreateCollectionOptions) (*Collection, error) + func GetCollection(collectionId int) (*Collection, error) + type Collections []Collection + func ListCollections() (*Collections, error) + type CreateCollectionOptions struct + ContractId string + Description string + GroupId int + Name string + type CreateKey struct + CollectionId int + Description string + Label string + Mode string + Tags []string + Value string + type ImportKey struct + CollectionId int + Content string + Name string + type Key struct + CollectionId int + CollectionName string + CreatedAt string + Description string + Dirty bool + Id int + Label string + QuotaUpdateState string + QuotaUsage int + QuotaUsageTimestamp string + Revoked bool + RevokedAt string + Tags []string + TerminationAt string + Value string + func CollectionAddKey(collectionId int, name, value string) (*Key, error) + func RevokeKey(key int) (*Key, error) + type Keys []int + func CollectionImportKeys(collectionId int, filename string) (*Keys, error) + type Quota struct + Enabled bool + Headers struct{ ... } + Interval string + Value int + type RevokeKeys struct + Keys Keys