writer

package
v0.0.0-...-d3f24ba Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsPresent

func IsPresent(addr string, config Config) (res bool)

func PutRecord

func PutRecord(rec Record, config Config) (err error)

Types

type Config

type Config struct {
	Addr     string `yaml:"address"`
	Password string `yaml:"password"`
}

type Record

type Record struct {
	Rcpt string
	TTL  time.Duration
	Info analyzer.RecordInfo
}

Структура записи в БД.

Jump to

Keyboard shortcuts

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