initial commit
This commit is contained in:
12
internal/store/store.go
Normal file
12
internal/store/store.go
Normal file
@ -0,0 +1,12 @@
|
||||
package store
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"git.loyso.art/frx/devsim/internal/entities"
|
||||
)
|
||||
|
||||
type Stats interface {
|
||||
Upsert(context.Context, entities.DeviceID, entities.DeviceStatistics) error
|
||||
List(context.Context) ([]entities.DeviceStatistics, error)
|
||||
}
|
||||
Reference in New Issue
Block a user