Skip to content

Commit

Permalink
修改go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Dot-Liu committed Feb 3, 2023
1 parent f8da127 commit 24d5446
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 15 deletions.
1 change: 1 addition & 0 deletions app/apinto/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ client:
- http://0.0.0.0:9400
gateway:
listen_urls:
- https://0.0.0.0:8099
- http://0.0.0.0:8099
peer:
listen_urls:
Expand Down
39 changes: 25 additions & 14 deletions build/resources/config.yml.tpl
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
listen: # node listen port
- 8099
version: 2
#certificate: # 证书存放根目录
# dir: /etc/apinto/cert
client:
#advertise_urls: # open api 服务的广播地址
#- http://127.0.0.1:9400
listen_urls: # open api 服务的监听地址
- http://0.0.0.0:9400
#certificate: # 证书配置,允许使用ip的自签证书
# - cert: server.pem
# key: server.key
gateway:
#advertise_urls: # 转发服务的广播地址
#- http://127.0.0.1:9400
listen_urls: # 转发服务的监听地址
- https://0.0.0.0:8099
- http://0.0.0.0:8099
peer: # 集群间节点通信配置信息
listen_urls: # 节点监听地址
- http://0.0.0.0:9401
#advertise_urls: # 节点通信广播地址
#- http://127.0.0.1:9400
#certificate: # 证书配置,允许使用ip的自签证书
# - cert: server.pem
# key: server.key

admin: # openAPI request info
scheme: http # listen scheme
listen: 9400 # listen port
ip: 0.0.0.0 # listen ip
#ssl:
# listen:
# - port: 443 #https端口
# certificate: # 不配表示使用所有 cert_dir中的证书,默认pem文件后缀为pem,key后缀为key
# - cert: cert.pem
# key: cert.key
#certificate:
# dir: ./cert # 证书文件目录,不填则默认从cert目录下载
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/Shopify/sarama v1.32.0
github.com/coocood/freecache v1.2.2
github.com/eolinker/eosc v0.8.2
github.com/eolinker/eosc v0.8.3
github.com/fasthttp/websocket v1.5.0
github.com/go-redis/redis/v8 v8.11.5
github.com/google/uuid v1.3.0
Expand Down

0 comments on commit 24d5446

Please sign in to comment.