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

Function WithNetworkStore

internal/api/httpapi/server.go:195–199  ·  view source on GitHub ↗

WithNetworkStore injects the persisted network query store.

(store core.NetworkStore)

Source from the content-addressed store, hash-verified

193
194// WithNetworkStore injects the persisted network query store.
195func WithNetworkStore(store core.NetworkStore) Option {
196 return func(server *Server) {
197 server.networkStore = store
198 }
199}
200
201// WithObserver injects the runtime observer.
202func WithObserver(observer core.Observer) Option {

Callers 1

httpServerOptionsFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected