Versions in this module Expand all Collapse all v0 v0.1.1 Feb 9, 2021 Changes in this version + const ALLOCATED + const AVAILABLE + type DBStore struct + func NewStore() *DBStore + func (store *DBStore) AllocateIP(cidr string) string + func (store *DBStore) CreateARecord(hostname, ipAddr string) bool + func (store *DBStore) CreateTables() bool + func (store *DBStore) DeleteARecord(hostname, ipAddr string) bool + func (store *DBStore) DisplayIPRecords() + func (store *DBStore) GetIPAddress(hostname string) string + func (store *DBStore) InsertIP(ips []string, cidr string) + func (store *DBStore) MarkIPAsAllocated(cidr, ipAddr string) bool + func (store *DBStore) ReleaseIP(ip string)