utils

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAddrToArpa added in v0.0.7

func ConvertAddrToArpa(addr netip.Addr) string

func GetCertFileName added in v0.0.7

func GetCertFileName(id int64, commonName string) string

func GetKeyFileName added in v0.0.7

func GetKeyFileName(id int64, commonName string) string

func GetOldCertFileName added in v0.0.7

func GetOldCertFileName(id int64, commonName string) string

func ParseArpaToPrefix added in v0.0.7

func ParseArpaToPrefix(arpa string) (netip.Prefix, error)

Types

type DomainChecker

type DomainChecker []string

func (DomainChecker) ValidateDomain

func (d DomainChecker) ValidateDomain(a string) bool

Jump to

Keyboard shortcuts

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