| 21 | ) |
| 22 | |
| 23 | type ConnectionsService interface { |
| 24 | GetConnectionsList() (connections []model2.ConnectionsDBModel) |
| 25 | GetConnectionByHost(host string) (connections []model2.ConnectionsDBModel) |
| 26 | GetConnectionByID(id string) (connections model2.ConnectionsDBModel) |
| 27 | CreateConnection(connection *model2.ConnectionsDBModel) |
| 28 | DeleteConnection(id string) |
| 29 | UpdateConnection(connection *model2.ConnectionsDBModel) |
| 30 | MountSmaba(username, host, directory, port, mountPoint, password string) error |
| 31 | UnmountSmaba(mountPoint string) error |
| 32 | } |
| 33 | |
| 34 | type connectionsStruct struct { |
| 35 | db *gorm.DB |
no outgoing calls
no test coverage detected