conf

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixAuth

func FixAuth(have []*entry.Entry, service string)

FixAuth is a helper func to correct the auth being set to the value of password in FromConfig

func FromConfig

func FromConfig(debug func(string, ...interface{}), service string, confdir string) ([]*entry.Entry, error)

Types

type Conf

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

func Create

func Create(debug func(string, ...interface{}), service string, have []*entry.Entry, want []*request.Request) (*Conf, error)

Monster function, clean up later

func (*Conf) WriteOut

func (c *Conf) WriteOut() error

Jump to

Keyboard shortcuts

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