40a1f8434d
* remove API tagging method and authed tagging * add anonstore move debug to after cache change test order fix issue where mysql trims to second * add old device cleanup lint utc-ize everything trim whitespace * remove dangling setting * Add delete devices * Move anonymous authnclient to anonimpl * Add simple post login hook * move registration of Background Service cleanup * add updated_at index * do not untag device if login err * add delete device integration test
22 lines
438 B
Go
22 lines
438 B
Go
package anonstore
|
|
|
|
import (
|
|
"context"
|
|
"time"
|
|
)
|
|
|
|
type FakeAnonStore struct {
|
|
}
|
|
|
|
func (s *FakeAnonStore) ListDevices(ctx context.Context, from *time.Time, to *time.Time) ([]*Device, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
func (s *FakeAnonStore) CreateOrUpdateDevice(ctx context.Context, device *Device) error {
|
|
return nil
|
|
}
|
|
|
|
func (s *FakeAnonStore) CountDevices(ctx context.Context, from time.Time, to time.Time) (int64, error) {
|
|
return 0, nil
|
|
}
|