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

Function WithNetworkService

internal/api/httpapi/server.go:188–192  ·  view source on GitHub ↗

WithNetworkService injects the runtime network manager.

(service core.NetworkService)

Source from the content-addressed store, hash-verified

186
187// WithNetworkService injects the runtime network manager.
188func WithNetworkService(service core.NetworkService) Option {
189 return func(server *Server) {
190 server.network = service
191 }
192}
193
194// WithNetworkStore injects the persisted network query store.
195func WithNetworkStore(store core.NetworkStore) Option {

Callers 1

httpServerOptionsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected