dnscache

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2017 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDomainIPv4

func AddDomainIPv4(domain, ip string, expiration int) error

func AddDomainIPv6

func AddDomainIPv6(domain, ip string, expiration int) error

func DeleteDomainIPv4

func DeleteDomainIPv4(domain string) error

func DeleteDomainIPv6

func DeleteDomainIPv6(domain string) error

func Flush

func Flush() error

func GetDomainIPv4

func GetDomainIPv4(domain string) (string, error)

func GetDomainIPv6

func GetDomainIPv6(domain string) (string, error)

func GetInstance

func GetInstance() *redis.Client

func GetTTLDomainIPv4

func GetTTLDomainIPv4(domain string) (int64, error)

func GetTTLDomainIPv6

func GetTTLDomainIPv6(domain string) (int64, error)

func IPv4Preffix

func IPv4Preffix() string

func IPv6Preffix

func IPv6Preffix() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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