config

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2022 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File string

File provides convenience methods for interacting with *os.File.

func (File) Delete

func (f File) Delete() error

Delete deletes the file.

func (File) Read

func (f File) Read() (string, error)

Read reads the file to a string.

func (File) Write

func (f File) Write(s string) error

Write writes the string to the file.

type Root

type Root string

Root represents the configuration directory.

func (Root) DotfilesURL added in v0.6.0

func (r Root) DotfilesURL() File

func (Root) Organization

func (r Root) Organization() File

func (Root) PostgresPassword added in v0.7.0

func (r Root) PostgresPassword() File

func (Root) PostgresPath added in v0.7.0

func (r Root) PostgresPath() string

func (Root) PostgresPort added in v0.7.0

func (r Root) PostgresPort() File

func (Root) Session

func (r Root) Session() File

func (Root) URL

func (r Root) URL() File

Jump to

Keyboard shortcuts

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