Initial commit
This commit is contained in:
20
internal/config/server.go
Normal file
20
internal/config/server.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package config
|
||||
|
||||
import (
|
||||
"time"
|
||||
)
|
||||
|
||||
type Tls struct {
|
||||
Enabled bool
|
||||
CertFile string
|
||||
KeyFile string
|
||||
}
|
||||
|
||||
// Server represents the server configiration
|
||||
type Server struct {
|
||||
Tls Tls
|
||||
Port string
|
||||
WriteTimeout time.Duration
|
||||
ReadTimeout time.Duration
|
||||
EnablePProfEndpoints bool
|
||||
}
|
||||
Reference in New Issue
Block a user