# README
pine
PineFramework
一个轻量级高性能GO语言开发框架. 支持mvc, di, 动态返回值, middleware 加载, 路由分组, 子域名路由注册管理.
大部分组件基于接口实现, 可以自行实现或定义组件.
动态返回值
此功能只能用于mvc模式, 根据方法自动兼容显示内容
- 如果没有返回值, 并且没有渲染过模板, 会自动调用模板渲染方法. 查找路径为
ControllerName/MethodName
- 如果返回
inerface{}
, 会自动打印部分能兼容的数据, 返回结果为字符串类型text/html
- 如果返回一个非nil的错误, 会直接
panic
(不包括复合类型里的error) - 如果返回 string,int 等类型,显示为
text
di
(发现有些数据无法解析出来pkgPath, 现在只有类型名称)服务注册名称更为
interface{}
, 如果注册服务类型实例, 自动绑定字符串文件路径和pkgPath
,controller
自动解析参数是对比参数pkgPath,以确定是否为真实参数类型.
todo
- session cache 组件重构
- pprof组件迁移出框架
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author