diff options
| author | Adnan Maolood <[email protected]> | 2021-02-23 08:43:41 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-23 08:43:47 -0500 |
| commit | 6de05c4b5d82a337ff01c44247acab857a5dad6e (patch) | |
| tree | 5dddac61be5b2ff4ec5c6e34205b9a9a3eaa0c18 /examples | |
| parent | certificate.Store: Remove client certificate support (diff) | |
| download | go-gemini-6de05c4b5d82a337ff01c44247acab857a5dad6e.tar.xz go-gemini-6de05c4b5d82a337ff01c44247acab857a5dad6e.zip | |
Update examples
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/auth.go | 2 | ||||
| -rw-r--r-- | examples/server.go | 2 | ||||
| -rw-r--r-- | examples/stream.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/examples/auth.go b/examples/auth.go index 919b3a2..eb551c3 100644 --- a/examples/auth.go +++ b/examples/auth.go @@ -38,7 +38,7 @@ func main() { Handler: mux, ReadTimeout: 30 * time.Second, WriteTimeout: 1 * time.Minute, - GetCertificate: certificates.GetCertificate, + GetCertificate: certificates.Get, } if err := server.ListenAndServe(context.Background()); err != nil { diff --git a/examples/server.go b/examples/server.go index a72a8aa..7882d11 100644 --- a/examples/server.go +++ b/examples/server.go @@ -29,7 +29,7 @@ func main() { Handler: mux, ReadTimeout: 30 * time.Second, WriteTimeout: 1 * time.Minute, - GetCertificate: certificates.GetCertificate, + GetCertificate: certificates.Get, } // Listen for interrupt signal diff --git a/examples/stream.go b/examples/stream.go index 325555d..5b49b11 100644 --- a/examples/stream.go +++ b/examples/stream.go @@ -28,7 +28,7 @@ func main() { Handler: mux, ReadTimeout: 30 * time.Second, WriteTimeout: 1 * time.Minute, - GetCertificate: certificates.GetCertificate, + GetCertificate: certificates.Get, } ctx := context.Background() |