Skip to content

Commit

Permalink
fix: align the struct
Browse files Browse the repository at this point in the history
  • Loading branch information
wangjq4214 committed Nov 12, 2024
1 parent 1313d58 commit 41e00c2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions listen.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ type ListenConfig struct {
// Default: nil
OnShutdownSuccess func()

// AutoCertManager is a acme manager for go crypto package.
// If you want to use acme, you have to provide it.
//
// Default : nil
AutoCertManager *autocert.Manager

// Known networks are "tcp", "tcp4" (IPv4-only), "tcp6" (IPv6-only)
// WARNING: When prefork is set to true, only "tcp4" and "tcp6" can be chosen.
//
Expand All @@ -96,12 +102,6 @@ type ListenConfig struct {
// Default : ""
CertClientFile string `json:"cert_client_file"`

// AutoCertManager is a acme manager for go crypto package.
// If you want to use acme, you have to provide it.
//
// Default : nil
AutoCertManager *autocert.Manager

// When set to true, it will not print out the «Fiber» ASCII art and listening address.
//
// Default: false
Expand Down

0 comments on commit 41e00c2

Please sign in to comment.