update readme form

This commit is contained in:
yo 2022-10-08 18:55:00 +02:00
parent eb8756b615
commit 5f14f61b9f

View File

@ -3,7 +3,7 @@
Go Ldap API is an HTTP API to an LDAP backend.
Only supporting read at the moment, maybe one day it will write, and break LDAP backends with ease and joy!
## Usage
## Usage
Start glapi with parameters on command line:
```
glapi -ldap-host ldap://ldap.example.org -ldap-base-dn dc=example,dc=org -ldap-user cn=yo,dc=example,dc=org -ldap-pass 'here_is_the_password'
@ -14,7 +14,7 @@ or point it to a configuration file :
glapi -config glapi.env
```
## Configuration file
## Configuration file
``̀`
LISTEN="127.0.0.1:8080"
LDAP_HOST="ldap://ldap.example.org"