MCPcopy Create free account
hub / github.com/compozy/agh / configureAddress

Method configureAddress

internal/api/httpapi/server.go:565–572  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

563}
564
565func (s *Server) configureAddress() {
566 if strings.TrimSpace(s.host) == "" {
567 s.host = strings.TrimSpace(s.config.HTTP.Host)
568 }
569 if s.port <= 0 {
570 s.port = s.config.HTTP.Port
571 }
572}
573
574func (s *Server) ensureEngine() {
575 if s.engine != nil {

Callers 1

finalizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected