Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 1.47 KB

notes.md

File metadata and controls

58 lines (46 loc) · 1.47 KB

源码分析笔记:

lightbug_http v0.1.3

  • 注解时间: 2024-09

源码目录:

lightbug/lightbug_http-0.1.3/lightbug_http on  main [!⇡] on ☁️   
❯ tree . -L 3
.
├── __init__.mojo
├── client.mojo
├── error.mojo
├── header.mojo
├── http.mojo
├── io
│   ├── __init__.mojo
│   ├── bytes.mojo
│   └── sync.mojo
├── libc.mojo
├── net.mojo
├── python
│   ├── __init__.mojo
│   ├── client.mojo
│   ├── net.mojo
│   └── server.mojo
├── server.mojo
├── service.mojo
├── strings.mojo
├── sys
│   ├── __init__.mojo
│   ├── client.mojo
│   ├── net.mojo
│   └── server.mojo         # TODO X: 框架入口
└── uri.mojo

3 directories, 22 files

 

入口:

  • ✅️ lightbug.🔥
    • 此文件包含一个最小用例, 依此, 顺藤摸瓜, 穿针引线, 阅读整个项目源码.

Mojo 核心语法 & 用例实践: