sampleconfig

package
v0.0.0-...-29cdea6 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: ISC Imports: 1 Imported by: 0

README

sampleconfig

Build Status ISC License Doc

Package sampleconfig provides functions that return the contents of sample configuration files for dcrd and dcrctl. This is provided for tools that perform automatic configuration and would like to ensure the generated configuration files not only include the specifically configured values, but also provides samples of other configuration options.

Installation and Updating

This package is part of the github.com/decred/dcrd module. Use the standard go tooling for working with modules to incorporate it.

License

Package sampleconfig is licensed under the copyfree ISC License.

Documentation

Overview

Package sampleconfig provides a single function that returns the contents of the sample configuration file for dcrd. This is provided for tools that perform automatic configuration and would like to ensure the generated configuration file not only includes the specifically configured values, but also provides samples of other configuration options.

Index

Constants

This section is empty.

Variables

View Source
var DcrctlSampleConfig = Dcrctl()

DcrctlSampleConfig is a string containing the commented example config for dcrctl.

Deprecated: Use the Dcrctl function instead.

Functions

func Dcrctl

func Dcrctl() string

Dcrctl returns a string containing the commented example config for dcrctl.

func Dcrd

func Dcrd() string

Dcrd returns a string containing the commented example config for dcrd.

func FileContents deprecated

func FileContents() string

FileContents returns a string containing the commented example config for dcrd.

Deprecated: Use the Dcrd function instead.

Types

This section is empty.

Jump to

Keyboard shortcuts

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