mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 01:12:56 +03:00
a0995d1b30
GitOrigin-RevId: 5a1d9cb772ac62603f2543bfe6c01a95c0a035c6
10 lines
239 B
Go
10 lines
239 B
Go
package database
|
|
|
|
type SettingsDriver interface {
|
|
// Get Current setting from database
|
|
GetSetting(name string) (value string, err error)
|
|
|
|
// UpdateSetting updates a setting in database.
|
|
UpdateSetting(name string, value string) error
|
|
}
|