Aditya Siregar 9e95e8ee5e Init Eslogad
2025-08-09 15:09:43 +07:00

18 lines
277 B
Go

package config
import "fmt"
type httpConfig struct {
host string
port int
detailedError bool
}
func (c *httpConfig) Address() string {
return fmt.Sprintf("%s:%d", c.host, c.port)
}
func (c *httpConfig) DetailedError() bool {
return c.detailedError
}