feat: add profile route and ui
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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)}
|
||||
}
|
||||
Reference in New Issue
Block a user