Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
ichunt-micro-v2
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
04955893
authored
Dec 24, 2020
by
孙龙
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
up
parent
2ea2034f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletions
README.md
README.md
View file @
04955893
# ichunt-micro-v2
# ichunt-micro-v2
## golang微服务网关
## golang微服务网关
> 启动方式
配置文件:./conf/ dev和prod
go run ./main.go -config=./conf/dev/
>
>
>** http服务:**
>** http服务:**
...
@@ -17,10 +24,13 @@
...
@@ -17,10 +24,13 @@
**外网直接转发:**
**外网直接转发:**
例如:发送钉钉消息
例如:发送钉钉消息
1,微服务网关后台添加外网转发服务相关内容,
1,微服务网关后台添加外网转发服务相关内容,
2,转发方式为:不经过负载均衡器,直接转发到外网或者内网,并添加外网地址即可
2,转发方式为:不经过负载均衡器,直接转发到外网或者内网,并添加外网地址即可
钉钉:
> 钉钉:
```
```
http://192.168.2.246:2002/dingding?access_token=561c9ea2085ad3f9953559b6f5e8a6096092f39844b090f45a34c5856a7be6b3
http://192.168.2.246:2002/dingding?access_token=561c9ea2085ad3f9953559b6f5e8a6096092f39844b090f45a34c5856a7be6b3
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment