Comments (10)
我还想在 solon 2.0 时,把 solon 内核模埠,降到 200k 以下的:)
from solon.
可以提交 “Pull requests”,增加这个打印:)
from solon.
不过 solon 叫 “solon”,并不叫 "solon boot":)
from solon.
不过 solon 叫 “solon”,并不叫 "solon boot":)
corrected in pull request
from solon.
What is the best way to support the custom banner that any user can configure. like solon.banner.path: banner.txt?
from solon.
可以的。写个小示例方便你了解 Utils 的一些常用接口:
//通过配置获取 bannerPath
String bannerPath = Solon.cfg().get("solon.banner.path", "banner.txt");
//然后尝试获取内容
String bannerTxt = Utils.getResourceAsString(bannerPath);
//如果没有则默认为 Solon
if(Utils.isEmpty(bannerTxt)){
bannerTxt="Solon";
}
from solon.
或许只允许使用 banner.txt 文件(基于约定大于配置的原则):
//然后尝试获取内容
String bannerTxt = Utils.getResourceAsString("banner.txt");
//如果没有则默认为 Solon
if(Utils.isEmpty(bannerTxt)){
bannerTxt="Solon";
}
from solon.
Can we make the banner the first think to print before "[Solon] App: Start loading"?
from solon.
如果那样的话,需要加到 solon 内核项目:solon 。。。这样,会让它的包变大的:)。。。先保持现在这样吧:)
可以提交 pr 了。。。用 dev 开发,pr 到 dev 啊:)
from solon.
Please review
from solon.
Related Issues (20)
- 任务发放:优化 onMissingBean 条件与 List[Bean] 注入的边界问题 HOT 2
- 同时有 queryString 和 from-data 参数时,Controller 方法中的参数无法正确注入 HOT 4
- 建议官网RPC未来支持高性能序列化框架-flatbuffers和simple-binary-encoding HOT 1
- Solon 框架可以增加Javalin容器支持 HOT 2
- 建议Solon 未来可以支持物联网MQTT协议 HOT 2
- 新增组件 Solon Cloud SnailJob HOT 2
- 申明:Solon 的社区活动主要在 GitEE(欢迎参与)
- 【任务发放】把 solon.test 里带的 HttpUtils 改为基于 smart-http 适配
- 【任务发放】添加 Solon Auth Server 模块
- 【任务发放】添加“@Destroy”注解支持 HOT 1
- 希望插件按需加载 HOT 2
- 希望增加热部署 HOT 5
- IOC包扫描时排队某些包 HOT 3
- 【任务发放】优化 List[Bean] 注入,支持排序 HOT 1
- 【任务发放】增加 @NamiService 注解,替代 @Remoting 注解(让 Nami 成为前后配套服务) HOT 1
- 建议未来nami RPC 支持-Aeron 协议、低延迟RPC
- 后扫描的包,依赖注入List对象为空 HOT 1
- 安卓中运行solon,发现bug HOT 6
- lettuce-solon-plugin native编译出来的包,无法注入配置 HOT 4
- controller接口输出数据添加GZIP压缩数据 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from solon.