MCPcopy
hub / github.com/dosco/graphjin / SetNamespace

Method SetNamespace

core/api.go:684–686  ·  view source on GitHub ↗

SetNamespace is used to set namespace requests within a single instance of GraphJin. For example queries with the same name

(ns string)

Source from the content-addressed store, hash-verified

682
683// SetNamespace is used to set namespace requests within a single instance of GraphJin. For example queries with the same name
684func (rc *RequestConfig) SetNamespace(ns string) {
685 rc.ns = &ns
686}
687
688// GetNamespace is used to get the namespace requests within a single instance of GraphJin
689func (rc *RequestConfig) GetNamespace() (string, bool) {

Callers 7

queryCatalogGraphQLMethod · 0.95
apiV1GraphQLMethod · 0.95
apiV1RestMethod · 0.95
handleExecuteGraphQLMethod · 0.95

Calls

no outgoing calls

Tested by 1