refactor(backend): rename mediacore package to media
This commit is contained in:
1 parent
e8cb7c6c68
commit
75c08beec6
34 files changed
+837
-656
No files matched your search
@@ -0,0 +1,18 @@
|
||||
package syncsocket
|
||||
|
||||
import (
|
||||
"context"
|
||||
)
|
||||
|
||||
type loginRequiredStore struct{}
|
||||
|
||||
func (loginRequiredStore) LoginRequired(context.Context) (bool, error) { return true, nil }
|
||||
func (loginRequiredStore) SetLoginRequired(context.Context, bool) error { return nil }
|
||||
func (loginRequiredStore) IsSetupClaimed(context.Context) (bool, error) { return true, nil }
|
||||
func (loginRequiredStore) TryClaimSetup(context.Context) (bool, error) { return false, nil }
|
||||
func (loginRequiredStore) UnclaimSetup(context.Context) error { return nil }
|
||||
|
||||
// loginOffStore is loginRequiredStore with login switched off for the whole application.
|
||||
type loginOffStore struct{ loginRequiredStore }
|
||||
|
||||
func (loginOffStore) LoginRequired(context.Context) (bool, error) { return false, nil }
|
||||
Reference in new issue
Block a user