diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2016-03-24 00:01:32 +0100 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2016-03-24 00:01:32 +0100 |
commit | 04dc81bed2efa2a3c8a580d7e58b3c5be3775764 (patch) | |
tree | e33ae78a57a80152cec5873de44bc2a0b10c88ef /route.go | |
parent | f2483c50f52762db42eec3c785b0da1353b0b0c8 (diff) |
More consistent naming
Diffstat (limited to 'route.go')
-rw-r--r-- | route.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ type Entry struct { cert *tls.Certificate } -func (r Route) SNI(h *tls.ClientHelloInfo) (*tls.Certificate, error) { +func (r Route) GetCertificate(h *tls.ClientHelloInfo) (*tls.Certificate, error) { if e, ok := r[h.ServerName]; ok && e.cert != nil { return e.cert, nil } |