cache

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Writeable

func Writeable(path string) (bool, error)

Types

type CFCache

type CFCache struct {
	PublicCIDRsV4 []*net.IPNet
	PublicCIDRsV6 []*net.IPNet
	// contains filtered or unexported fields
}

func GetCache

func GetCache(path string) (*CFCache, error)

func (*CFCache) GetCFZoneDNS

func (c *CFCache) GetCFZoneDNS(cfAPI *cloudflare.API, domain string) ([]cloudflare.DNSRecord, error)

func (*CFCache) LoadCloudflareIPList

func (c *CFCache) LoadCloudflareIPList() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL