Documentation
¶
Index ¶
- func CheckIfNameExists(name string) bool
- func DeleteAllConnections() error
- func DeleteAllConnectionsByType(connectionType string) error
- func DeleteConnectionByName(connectionName string) error
- func GetAllConnections() ([]conn.Connection, error)
- func GetConnectionByName(connectionName string) (conn.Connection, error)
- func GetConnectionsByType(connectionType string) ([]conn.Connection, error)
- func SaveConnection(conn conn.Connection) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfNameExists ¶
CheckIfNameExists checks if a connection with the given name already exists.
func DeleteAllConnections ¶
func DeleteAllConnections() error
DeleteAllConnections removes all stored connections.
func DeleteConnectionByName ¶
DeleteConnectionByName removes a connection by its name.
func GetAllConnections ¶
func GetAllConnections() ([]conn.Connection, error)
GetAllConnections retrieves all stored connections.
func GetConnectionByName ¶
func GetConnectionByName(connectionName string) (conn.Connection, error)
GetConnectionByName retrieves a connection by its name.
func GetConnectionsByType ¶
func GetConnectionsByType(connectionType string) ([]conn.Connection, error)
GetConnectionsByType retrieves connections filtered by their type.
func SaveConnection ¶
func SaveConnection(conn conn.Connection) error
SaveConnection saves a new connection or updates an existing one based on the connection name.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.