L1ghted HomeLearn to Use `Golang` Back to Home

Learn to Use `Golang`

Created2024-10-24|Updated2024-12-01
|Post Views:

Tips

  • golang 编程规范 - 项目目录结构
  • Standard Go Project Layout
Author: L1ght Ra1n
Link: http://example.com/2024/10/24/Learning/go/
Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Previous
{"api":{"services":["HandlerService","LoggerService","StatsService"],"tag":"api"},"inbounds":[{"listen":"127.0.0.1","port":62789,"protocol":"dokodemo-door","settings":{"address":"127.0.0.1"},"tag":"api"}],"outbounds":[{"protocol":"freedom","settings":{}},{"protocol":"blackhole","settings":{},"tag":"blocked"}],"policy":{"system":{"statsInboundDownlink":true,"statsInboundUplink":true}},"routing":{"rules":[{"inboundTag":["api"],"outboundTag":"api","type":"field"},{"ip":["geoip:private"],"outboun...
Next
Outside
Cloud Service ProvidersOracle CloudCloudflareDNS可以让CF协助托管域名,挂CF的CDN CF Workers 什么是ProxyIP:是用于workers转发CF托管网站的服务器IP,用于workers访问CF系网站,参考这里 什么是CF反代IP:理解为非官方的CF节点,或许可以理解为用户请求经过CF CDN的落地IP?参考这里 Cloudflare Trace API通过访问https://xxx/cdn-cgi/trace可以查看当前访问的CF节点IP例如访问https://nodeseek.com/cdn-cgi/trace, https://www.cloudflare.com/cdn-cgi/trace 12345678910111213141516fl:Cloudflare 服务器实例h:网站域名ip:当前访问者的IP地址ts:时间戳,格式为“秒.毫秒”(bash中生成同款时间戳的命令为date +%s.%3N)visit_scheme:访问者使用的协议usg:访问者使用的UserAgent信息colo:被访问的Clou...
avatar
L1ght Ra1n
Welcome Home~
Articles
9
Tags
0
Categories
0
Follow Me
Announcement
This is my Blog
Contents
  1. 1. Tips
Recent Posts
Custom profile2025-10-14
Install xrdp in macOS2025-10-14
About `xray` config file2025-10-14
Inspect into NVIDIA2024-11-24
Useful DERP2024-11-16
© 2019 - 2025 By L1ght Ra1n