dmn

package
v0.0.57-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package dmn contains domain utilities used by multiple ong packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertManager

func CertManager(domain, acmeEmail, acmeDirectoryUrl string) *autocert.Manager

CertManager returns an ACME certificate manager for the given domain. This should be called with a valid domain. Call Validate before calling this. Callers should check if return value is nil.

func Validate

func Validate(domain string) error

Validate checks domain for validity. domain is the domain name of your website. It can be an exact domain, subdomain or wildcard.

Types

This section is empty.

Jump to

Keyboard shortcuts

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