Documentation ¶
Index ¶
- Constants
- func APIAccessManagement(c *web.C, h http.Handler) http.Handler
- func CreateAdministrator(db *bolt.DB) (string, error)
- func DatastoreLoader(c *web.C, h http.Handler) http.Handler
- func EnvironmentDatabaseProvider(init Initializer, handler DbHandler) func(c web.C, w http.ResponseWriter, r *http.Request)
- func HasAdministratorToken(db *bolt.DB) (bool, error)
- func InitializeConfiguration(configPath string, configDb interface{}) (func(c *web.C, h http.Handler) http.Handler, error)
- func SetPermissions(db *bolt.DB, path, scope string) error
- type DatabaseProvider
- type DbHandler
- type Initializer
Constants ¶
View Source
const AccountDetails string = "account-details"
View Source
const AccountId string = "account_id"
View Source
const ConfigurationDB string = "configuration-db"
View Source
const Datastore string = "datastore"
Variables ¶
This section is empty.
Functions ¶
func EnvironmentDatabaseProvider ¶
func EnvironmentDatabaseProvider(init Initializer, handler DbHandler) func(c web.C, w http.ResponseWriter, r *http.Request)
func InitializeConfiguration ¶
Types ¶
type DatabaseProvider ¶
type DatabaseProvider func(init Initializer, handler DbHandler) func(c web.C, w http.ResponseWriter, r *http.Request)
type Initializer ¶
Click to show internal directories.
Click to hide internal directories.