Commit Graph

6 Commits

Author SHA1 Message Date
Ivan Kozlovic
f75779b65b Use 2 files for CloneTLSConfig instead of reflection
Use build directives to solve the problem of new fields in tls.Config
in go 1.7

Related to #231
2016-10-20 20:39:39 -06:00
Ivan Kozlovic
4997637270 [FIXED] assignment copies lock value for crypto/tls.Config
Running `go vet ./...` with `go 1.7.3` would report the following:

```
server/route.go:342: assignment copies lock value to tlsConfig: crypto/tls.Config contains sync.Once contains sync.Mutex
server/server.go:479: assignment copies lock value to config: crypto/tls.Config contains sync.Once contains sync.Mutex
```

Add a “clone” function while waiting for this to be addressed
by the language itself (https://go-review.googlesource.com/#/c/28075/)
2016-10-20 14:59:29 -06:00
Derek Collison
f2309164f5 Add ability to control cost function via command line 2015-12-01 14:27:34 -08:00
Derek Collison
847de3f8b5 comment constants 2015-12-01 12:50:16 -08:00
Derek Collison
c9feb8f354 logic flow change 2015-12-01 12:48:10 -08:00
Derek Collison
6fc9927f52 bcrypt support for passwords and tokens 2015-11-30 17:38:08 -08:00