mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
set defaults for request context
This commit is contained in:
parent
63b24aed3f
commit
8081b60146
23 changed files with 692 additions and 666 deletions
|
@ -145,9 +145,9 @@ type DocumentStorer interface {
|
|||
|
||||
// SettingStorer defines required methods for persisting global and user level settings
|
||||
type SettingStorer interface {
|
||||
Get(area, path string) string
|
||||
Get(area, path string) (val string, err error)
|
||||
Set(area, value string) error
|
||||
GetUser(orgID, userID, area, path string) string
|
||||
GetUser(orgID, userID, area, path string) (val string, err error)
|
||||
SetUser(orgID, userID, area, json string) error
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue