config

package
v0.0.0-...-75f3508 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliasConfig

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

func (*AliasConfig) Load

func (c *AliasConfig) Load(fname string) (err error)

func (*AliasConfig) MX

func (c *AliasConfig) MX(hostname string) (addr string, ok bool)

type Config

type Config struct {
	Aliases AliasConfig
	// contains filtered or unexported fields
}

func (*Config) Get

func (c *Config) Get(name string) (val string, ok bool)

func (*Config) Load

func (c *Config) Load(fname string) (err error)

Directories

Path Synopsis
Package configparser provides a simple parser for reading/writing configuration (INI) files.
Package configparser provides a simple parser for reading/writing configuration (INI) files.

Jump to

Keyboard shortcuts

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