iissy / goweb Goto Github PK
View Code? Open in Web Editor NEWGolang写的程序员网址导航
Home Page: https://iissy.com
License: MIT License
Golang写的程序员网址导航
Home Page: https://iissy.com
License: MIT License
你好!
A路由 → A方法\ / A服务接口 → A服务
B路由 → B方法 → RPC → B服务接口 → B服务
C路由 → C方法 / \C服务接口 → C服务
./main.go:11:5: app.StaticServe undefined (type *iris.Application has no field or method StaticServe)
2021-10-29 16:07:50 level=info Starting [service] micro.hrefs.srv
2021-10-29 16:07:50 level=info Server [grpc] Listening on [::]:30004
2021-10-29 16:08:11 level=error Server register error: Put "http://192.168.111.151:8500/v1/agent/service/register": dial tcp 192.168.111.151:8500: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2021-10-29 16:09:02 level=error Server register error: Put "http://192.168.111.151:8500/v1/agent/service/register": dial tcp 192.168.111.151:8500: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
2021-10-29 16:09:32 level=error Server register error: Put "http://192.168.111.151:8500/v1/agent/service/register": dial tcp 192.168.111.151:8500: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
{"id":"go.micro.client","code":500,"detail":"error selecting micro.hrefs.srv node: Get "http://192.168.111.151:8500/v1/health/service/micro.hrefs.srv?stale=\": dial tcp 192.168.111.151:8500: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.","status":"Internal Server Error"}
0time="2021/10/29 16:09:42" level=error msg="{"id":"go.micro.client","code":500,"detail":"error selecting micro.hrefs.srv node: Get \"http://192.168.111.151:8500/v1/health/service/micro.hrefs.srv?stale=\\\": dial tcp 192.168.111.151:8500: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.","status":"Internal Server Error"}, url = /login"
time="2021/10/29 16:09:42" level=info msg="25.0062956s /login"
2021/10/29 16:09:42 [ERR] consul.watch: Watch (type: services) errored: Get "http://192.168.111.151:8500/v1/catalog/services": dial tcp 192.168.111.151:8500: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond., retry in 5s
{"id":"go.micro.client","code":500,"detail":"error selecting micro.hrefs.srv node: Get "http://192.168.111.151:8500/v1/health/service/micro.hrefs.srv?stale=\": dial tcp 192.168.111.151:8500: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.","status":"Internal Server Error"}
0time="2021/10/29 16:09:59" level=error msg="{"id":"go.micro.client","code":500,"detail":"error selecting micro.hrefs.srv node: Get \"http://192.168.111.151:8500/v1/health/service/micro.hrefs.srv?stale=\\\": dial tcp 192.168.111.151:8500: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.","status":"Internal Server Error"}, url = /login"
time="2021/10/29 16:09:59" level=info msg="21.0291967s /login"
我在本机运行了一下,发现发表文章的时候无法导入图片,还有自己注册的账号再登录,无法登陆。
对go一无所知的小白
这里面用到vue.js了吗?
我从网站上跳过来的,浏览了一下代码,没有找到vue相关的东西呢
app.StaticServe undefined (type *iris.Application has no field or method StaticServe)
为啥我的main.go 11行调用的iris StaticServe没有这个方法
正在学习golang 没用过go-micro ,
windows下安装consul后,protobuf-3.6.1也配置了,启动
go run main.go 跑了一下,能进主界面,但是接口全部 timeout ,是不是我的go-micro 缺了什么东西
能否把完整的二次开发流程补一下?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.