| 12 | ) |
| 13 | |
| 14 | type ServerConfig struct { |
| 15 | *fiber.App |
| 16 | Host string `yaml:"Host" env:"HOST" env-default:"127.0.0.1"` |
| 17 | Port string `yaml:"Port" env:"PORT" env-default:"8000"` |
| 18 | } |
| 19 | |
| 20 | func (s *ServerConfig) Setup() { |
| 21 | s.App = fiber.New(fiber.Config{ |
nothing calls this directly
no outgoing calls
no test coverage detected