会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
卓能文
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
14
15
16
17
18
19
20
21
22
···
25
下一页
2024年7月29日
form-validation 示例
摘要: formvalidation是一个比较好用的浏览器端验证框架。下面是简单示例。 安装依赖: pnpm i @form-validation/bundle pnpm i @form-validation/styles pnpm i @form-validation/plugin-tachyons in
阅读全文
posted @ 2024-07-29 10:35 卓能文
阅读(55)
评论(0)
推荐(0)
2024年7月26日
rust wasm sycamore demo
摘要: Cargo.toml: [package] name = "wasmdemo" version = "0.1.0" edition = "2021" [dependencies] sycamore = "0.9.0-beta.2" src/main.rs: use sycamore::prelude
阅读全文
posted @ 2024-07-26 20:51 卓能文
阅读(57)
评论(0)
推荐(0)
archlinux 释放被占用的端口
摘要: sudo fuser -k 8080/tcp
阅读全文
posted @ 2024-07-26 17:56 卓能文
阅读(15)
评论(0)
推荐(0)
2024年7月25日
go sse
摘要: main.go: package main import ( "fmt" "net/http" "time" ) var indexHtml = `<!DOCTYPE html> <html> <body> <h1>SSE Messages</h1> <button id="stop">Stop</
阅读全文
posted @ 2024-07-25 03:08 卓能文
阅读(85)
评论(0)
推荐(0)
2024年7月24日
rust poem sse
摘要: Cargo.toml: [package] name = "sse" version = "0.1.0" edition = "2021" [dependencies] futures-util = "0.3.30" poem = { version = "3.0.3", features = ["
阅读全文
posted @ 2024-07-24 12:05 卓能文
阅读(66)
评论(0)
推荐(0)
rust axum sse
摘要: Cargo.toml: [package] name = "sse" version = "0.1.0" edition = "2021" [dependencies] axum = "0.7.5" axum-extra = { version = "0.9.3", features = ["typ
阅读全文
posted @ 2024-07-24 09:05 卓能文
阅读(190)
评论(0)
推荐(0)
2024年7月23日
gofiber sse
摘要: package main import ( "bufio" "fmt" "log" "time" "github.com/gofiber/fiber/v2" "github.com/gofiber/fiber/v2/middleware/cors" "github.com/valyala/fasth
阅读全文
posted @ 2024-07-23 12:11 卓能文
阅读(156)
评论(0)
推荐(0)
go fastest web
摘要: package main import ( "fmt" "time" "git.akyoto.dev/go/web" ) func main() { s := web.NewServer() // Static route s.Get("/", func(ctx web.Context) error
阅读全文
posted @ 2024-07-23 09:18 卓能文
阅读(48)
评论(0)
推荐(0)
rust ntex server
摘要: Cargo.toml: [package] name = "demo" version = "0.1.0" edition = "2021" [dependencies] serde = { version = "1.0.204", features = ["derive"] } ntex = {
阅读全文
posted @ 2024-07-23 00:22 卓能文
阅读(74)
评论(0)
推荐(0)
2024年7月22日
rust may_minihttp server
摘要: Cargo.toml: [package] name = "demo" version = "0.1.0" edition = "2021" [dependencies] bytes = "1.6.1" may = "0.3.45" may_minihttp = { git = "https://g
阅读全文
posted @ 2024-07-22 22:57 卓能文
阅读(301)
评论(0)
推荐(0)
上一页
1
···
14
15
16
17
18
19
20
21
22
···
25
下一页
公告