fn project 对象模型
At the root of everything are applications. In fn
, an application is essentially a grouping of functions with path mappings (routes) to each function. For instance, consider the following URLs for the app called myapp
:
http://myapp.com/hello
http://myapp.com/users
This is an app with 2 routes:
- A mapping of the path
/hello
to a function calledhello
- A mapping of the path
/users
to a function calledusers
Routes
An app consists of 1 or more routes. A route stores the mapping between URL paths and functions (ie: container iamges).
Calls
A call represents an invocation of a function. Every request for a URL as defined in the routes, a call is created. The call_id
for each request will show up in all logs and the status of the call, as well as the logs, can be retrieved using the call_id
.
Logs
Logs are stored for each call
that is made and can be retrieved with the call_id
.
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· 没有源码,如何修改代码逻辑?
· 全程不用写代码,我用AI程序员写了一个飞机大战
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· .NET10 - 预览版1新功能体验(一)
2014-10-05 p/Invoke工具