You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
604 B
46 lines
604 B
Global:
|
|
Source: "config(local)"
|
|
ChangeMe: "v1"
|
|
|
|
JWT:
|
|
signingKey: "signingKey"
|
|
|
|
Etcd:
|
|
Enable: true
|
|
Address: "localhost"
|
|
Port: 2379
|
|
|
|
Server:
|
|
Name: "DouTokAPIServer"
|
|
Address: "0.0.0.0"
|
|
Port: 8088
|
|
|
|
Hertz:
|
|
UseNetpoll: true
|
|
Http2:
|
|
Enable: false
|
|
DisableKeepalive: false
|
|
ReadTimeout: "1m0s"
|
|
Tls:
|
|
Enable: false
|
|
CertFile: ""
|
|
KeyFile: ""
|
|
ALPN: true
|
|
|
|
Client:
|
|
Echo: true
|
|
Foo: "bar"
|
|
Servers:
|
|
- "127.0.0.1"
|
|
- "192.168.1.1"
|
|
|
|
Redis:
|
|
Host: "localhost"
|
|
Port: 6379
|
|
Password: "root"
|
|
DataBases:
|
|
Default: 0
|
|
|
|
Otel:
|
|
Host: "82.156.171.8"
|
|
Port: 4317
|