Documentation
¶
Index ¶
- Constants
- func EnvironmentDatabaseURL() string
- func ResolveDatabaseURL() (string, error)
- type Config
- type KeychainStore
- type Manager
- func (m *Manager) ActiveURL() (string, error)
- func (m *Manager) Config() (Config, error)
- func (m *Manager) Delete(name string) error
- func (m *Manager) List() ([]Profile, error)
- func (m *Manager) Save(name, databaseURL string) error
- func (m *Manager) SetActive(name string) error
- func (m *Manager) URL(name string) (string, error)
- type Profile
- type SecretStore
Constants ¶
View Source
const ( ServiceName = "pdfdb" DefaultProfileName = "default" )
Variables ¶
This section is empty.
Functions ¶
func EnvironmentDatabaseURL ¶
func EnvironmentDatabaseURL() string
func ResolveDatabaseURL ¶
Types ¶
type KeychainStore ¶
type KeychainStore struct{}
func (KeychainStore) Delete ¶
func (KeychainStore) Delete(service, user string) error
func (KeychainStore) Set ¶
func (KeychainStore) Set(service, user, password string) error
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func New ¶
func New(path string, secrets SecretStore) *Manager
func NewDefault ¶
Click to show internal directories.
Click to hide internal directories.