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

Function applyOptions

internal/api/httpapi/server.go:505–511  ·  view source on GitHub ↗
(server *Server, opts []Option)

Source from the content-addressed store, hash-verified

503}
504
505func applyOptions(server *Server, opts []Option) {
506 for _, opt := range opts {
507 if opt != nil {
508 opt(server)
509 }
510 }
511}
512
513func (s *Server) finalize() error {
514 s.applyDefaults()

Callers 1

NewFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected