configuration

package
v0.0.0-...-0ec24d7 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration interface {
	GetProfilesPath() (string, error)
	GetCurrentProfilePath() (string, error)
	GetGlobalConfigPath() (string, error)
	Base() (string, error)
	Profiles() (model.Profiles, error)
	ProfileByName(name string) (model.User, int, error)
	ProfileByNameAndProvider(name string, provider string) (model.User, int, error)
	SetProfile(user model.User) error
	SetCurrentProfile(user model.User) error
	CurrentProfile() (model.User, error)
	RemoveProfile(user model.User) error
}

func NewConfig

func NewConfig() Configuration

Jump to

Keyboard shortcuts

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