Compare commits
2 commits
1dcb9889b5
...
a7621a1993
| Author | SHA1 | Date | |
|---|---|---|---|
| a7621a1993 | |||
|
|
224d2006ef |
2 changed files with 12 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ The help command `./happyDomain -help` shows you the available engines:
|
|||
|
||||
```
|
||||
-storage-engine value
|
||||
Select the storage engine between [leveldb mysql] (default leveldb)
|
||||
Select the storage engine between [inmemory leveldb] (default leveldb)
|
||||
```
|
||||
|
||||
#### LevelDB
|
||||
|
|
@ -100,6 +100,13 @@ LevelDB is a small embedded key-value store (as SQLite it doesn't require an add
|
|||
By default, a new directory is created near the binary, called `happydomain.db`. This directory contains the database used by the program.
|
||||
You can change it to a more meaningful/persistant path.
|
||||
|
||||
#### inmemory
|
||||
|
||||
Data are stored in memory and lost when service is stopped.
|
||||
|
||||
#### DBMS
|
||||
|
||||
DBMS as Mysql/Mariadb or Postgres are no more supported or planned.
|
||||
|
||||
### Persistent configuration
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,10 @@ type JWTSecretKey struct {
|
|||
}
|
||||
|
||||
func (i *JWTSecretKey) String() string {
|
||||
if i.Secret == nil {
|
||||
return ""
|
||||
}
|
||||
|
||||
return base64.StdEncoding.EncodeToString(*i.Secret)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue