banshan

Results 13 comments of banshan

@gqcn 下面这两种用法我试了一下都不行 ```go func main() { s := g.Server() s.Group("/", func(group *ghttp.RouterGroup) { group.ALL("/hello", api.Hello.Index) }) handler := ghttp.GetServer().Handler() //写法1 //http.Handle("/", handler) //http.ListenAndServe(":8199", nil) //写法2 http.ListenAndServe(":8199", handler) } ```

> @dwdcth 这块稍微有点复杂,我想一想。 好的

开放生命周期的HooK和获取租户数据,sql路由的接口 比如,BeforeUserConnect, BeforeSqlRoute,BeforeSqlExecute,AfterSqlRoute,AfterSqlExecute,AfterUserDisconnect.在hook里可以获取租户的用户名,和执行的sql。BeforeSqlExecute,AfterSqlExecute可否提供一个context,方便放一些变量

测试 TestBuild14 TOTP 成功登录 ![image](https://user-images.githubusercontent.com/1883728/217707975-591cc9dc-11c6-4bb9-89af-9c708c2902d3.png)

可以考虑 facebook的 faiss,另外langchan里面还有其它的向量搜索,可以综合考虑一下

还有这个 基于rust的向量搜索引擎,看issue列表应该是支持windows的,不过官方没有发布可执行文件 https://github.com/qdrant/qdrant

> couldn't find an easy way to change the cursor in editors > maybe this would be solution https://stackoverflow.com/questions/54932632/expand-cursor-length-qlineedit Thanks, I will try it in weekend.