Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/eggjs/examples
/ user
Method
user
unittest/app/controller/home.js:23–29 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
21
}
22
23
async
user() {
24
const
ctx = this.ctx;
25
const
user =
await
ctx.service.user.get(ctx.query.name);
26
ctx.body = {
27
user,
28
};
29
}
30
31
async
httpclient() {
32
const
ctx = this.ctx;
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected