postfix

package
v0.0.0-beta3 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NameMainCf   = "main.cf"
	NameMasterCf = "master.cf"
)
View Source
const (
	DistMainCf   = "/etc/postfix/main.cf"
	DistMasterCf = "/etc/postfix/master.cf"
)

Variables

View Source
var (
	ConfBindMainCf   = appconf.NewConfBind(fs, NameMainCf, DistMainCf, perm)
	ConfBindMasterCf = appconf.NewConfBind(fs, NameMasterCf, DistMasterCf, perm)
)

Functions

func ConfBindMap

func ConfBindMap(optMainCf OptMainCf, optMasterCf OptMasterCf) map[string]any

Types

type OptMainCf

type OptMainCf struct {
	MyHostname  string
	MyDomain    string
	TLS         bool
	TLSKeyFile  string
	TLSCertFile string
	Version     string
}

type OptMasterCf

type OptMasterCf struct{}

Jump to

Keyboard shortcuts

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