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

Method finalize

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

Source from the content-addressed store, hash-verified

511}
512
513func (s *Server) finalize() error {
514 s.applyDefaults()
515 if err := s.validateRequired(); err != nil {
516 return err
517 }
518 s.configureAddress()
519 return nil
520}
521
522func (s *Server) applyDefaults() {
523 if s.logger == nil {

Callers 1

NewFunction · 0.45

Calls 3

applyDefaultsMethod · 0.95
validateRequiredMethod · 0.95
configureAddressMethod · 0.95

Tested by

no test coverage detected