MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / GetClient

Method GetClient

inventory/oauth_client.go:78–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78func (c *oauthClientClient) GetClient() *ent.Client {
79 return c.client
80}
81
82func (c *oauthClientClient) GetByGUID(ctx context.Context, guid string) (*ent.OAuthClient, error) {
83 return c.client.OAuthClient.Query().

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected