17 lines
250 B
Go
17 lines
250 B
Go
package profile
|
|
|
|
import (
|
|
"sync"
|
|
|
|
"github.com/omnex/control-plane/api/internal/auth"
|
|
)
|
|
|
|
type MemStore struct {
|
|
mu sync.RWMutex
|
|
items map[string]auth.User
|
|
}
|
|
|
|
func NewMemStore() *MemStore {
|
|
return &MemStore{items: make(map[string]auth.User)}
|
|
}
|