mirror of
https://git.mills.io/saltyim/saltyim.git
synced 2024-06-30 18:51:03 +00:00
be4b4a5e9d
Co-authored-by: James Mills <prologic@shortcircuit.net.au> Co-authored-by: Jon Lundy <jon@xuu.cc> Reviewed-on: https://git.mills.io/prologic/saltyim/pulls/36
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 }
|