Init handles all initialization needs in this package.
(dEnv *env.DoltEnv, cfg Config)
| 36 | |
| 37 | // Init handles all initialization needs in this package. |
| 38 | func Init(dEnv *env.DoltEnv, cfg Config) { |
| 39 | dbInit(dEnv, cfg) |
| 40 | sql.SetAuthorizationHandlerFactory(AuthorizationHandlerFactory{}) |
| 41 | } |
| 42 | |
| 43 | // GetSuperUserAndPassword returns the superuser and password for the server to use, as defined in the environment |
| 44 | func GetSuperUserAndPassword() (string, string) { |