mirror of
https://github.com/safing/portbase
synced 2025-09-14 09:09:50 +00:00
Work on database revamp [WIP]
This commit is contained in:
parent
307ddd70fd
commit
efabb291d7
19 changed files with 1032 additions and 664 deletions
17
database/interface.go
Normal file
17
database/interface.go
Normal file
|
@ -0,0 +1,17 @@
|
|||
package database
|
||||
|
||||
type Interface struct {
|
||||
local bool
|
||||
internal bool
|
||||
}
|
||||
|
||||
func NewInterface(local bool, internal bool) *Interface {
|
||||
return &Interface{
|
||||
local: local,
|
||||
internal: internal,
|
||||
}
|
||||
}
|
||||
|
||||
func (i *Interface) Get(string key) (model.Model, error) {
|
||||
return nil, nil
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue