mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-20 17:26:40 +00:00
18 lines
346 B
Go
18 lines
346 B
Go
package activity
|
|
|
|
type NoopEventStore struct {
|
|
}
|
|
|
|
func (store *NoopEventStore) Save(event *Event) (*Event, error) {
|
|
event.ID = -1
|
|
return event, nil
|
|
}
|
|
|
|
func (store *NoopEventStore) Get(accountID string, offset, limit int, descending bool) ([]*Event, error) {
|
|
return []*Event{}, nil
|
|
}
|
|
|
|
func (store *NoopEventStore) Close() error {
|
|
return nil
|
|
}
|