docs/web/router-registering-struct #163
Replies: 1 comment
-
输出的结果应该是: Init 少了一个Init |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
docs/web/router-registering-struct
对象注册通过实例化的对象来执行路由注册,每个请求交由该对象处理,保持常驻内存不释放。该文档介绍了GoFrame框架中对象注册的相关方法,例如BindObject、BindObjectMethod、BindObjectRest等,并详细说明了对象如何按照RESTful设计进行注册。此外,还讨论了路由内置变量、命名风格规则以及Init和Shut的构造与析构方法。
https://goframe.org/docs/web/router-registering-struct
Beta Was this translation helpful? Give feedback.
All reactions