Documentation
¶
Index ¶
- type Config
- type DBConfig
- type Manager
- func (m *Manager) AddDatabase(name string, config *DBConfig) error
- func (m *Manager) GetDatabase(name string) (*DBConfig, bool)
- func (m *Manager) GetDatabases() map[string]*DBConfig
- func (m *Manager) ListDatabases() []*DBConfig
- func (m *Manager) Load() error
- func (m *Manager) RemoveDatabase(name string) error
- func (m *Manager) Save() error
- func (m *Manager) UpdateDatabase(name string, config *DBConfig) error
- type Prompt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) GetDatabases ¶
func (*Manager) ListDatabases ¶
func (*Manager) RemoveDatabase ¶
Click to show internal directories.
Click to hide internal directories.