Update examples
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user