forked from mirror/gin
parent
66b6eecec6
commit
d806d7a600
|
@ -438,7 +438,7 @@ func main() {
|
||||||
|
|
||||||
#### Using BasicAuth() middleware
|
#### Using BasicAuth() middleware
|
||||||
```go
|
```go
|
||||||
// similate some private data
|
// simulate some private data
|
||||||
var secrets = gin.H{
|
var secrets = gin.H{
|
||||||
"foo": gin.H{"email": "foo@bar.com", "phone": "123433"},
|
"foo": gin.H{"email": "foo@bar.com", "phone": "123433"},
|
||||||
"austin": gin.H{"email": "austin@example.com", "phone": "666"},
|
"austin": gin.H{"email": "austin@example.com", "phone": "666"},
|
||||||
|
|
Loading…
Reference in New Issue