zone_file

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ZoneFile

type ZoneFile struct {
	// contains filtered or unexported fields
}

func (*ZoneFile) ReadSoaSerial

func (zoneFile *ZoneFile) ReadSoaSerial() (*int, error)

func (*ZoneFile) WriteFile

func (zoneFile *ZoneFile) WriteFile(content string) (err error)

type ZoneFileInterface

type ZoneFileInterface interface {
	WriteFile(string) error
	ReadSoaSerial() (*int, error)
}

func NewZoneFile

func NewZoneFile(fileName string) ZoneFileInterface

Jump to

Keyboard shortcuts

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