Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
505
func
applyOptions(server *Server, opts []Option) {
506
for
_, opt :=
range
opts {
507
if
opt != nil {
508
opt(server)
509
}
510
}
511
}
512
513
func
(s *Server) finalize() error {
514
s.applyDefaults()
Callers
1
New
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected