mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-06-30 18:51:03 +00:00
14 lines
327 B
Go
14 lines
327 B
Go
![]() |
package internal
|
||
|
|
||
|
// MemoryStore is an in-memory store mostly only used for tests
|
||
|
type MemoryStore struct {
|
||
|
}
|
||
|
|
||
|
func NewMemoryStore() *MemoryStore {
|
||
|
return &MemoryStore{}
|
||
|
}
|
||
|
|
||
|
func (s *MemoryStore) Sync() error { return nil }
|
||
|
func (s *MemoryStore) Close() error { return nil }
|
||
|
func (s *MemoryStore) Merge() error { return nil }
|