MCPcopy
hub / github.com/github/github-mcp-server / WithInventoryFactory

Function WithInventoryFactory

pkg/http/handler.go:63–67  ·  view source on GitHub ↗
(f InventoryFactoryFunc)

Source from the content-addressed store, hash-verified

61}
62
63func WithInventoryFactory(f InventoryFactoryFunc) HandlerOption {
64 return func(o *HandlerOptions) {
65 o.InventoryFactory = f
66 }
67}
68
69func WithOAuthConfig(cfg *oauth.Config) HandlerOption {
70 return func(o *HandlerOptions) {

Callers 4

TestHTTPHandlerRoutesFunction · 0.85
TestContentTypeHandlingFunction · 0.85

Calls

no outgoing calls

Tested by 4

TestHTTPHandlerRoutesFunction · 0.68
TestContentTypeHandlingFunction · 0.68