Skip to content

Commit

Permalink
feat(config): add config.example.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: iyear <ljyngup@gmail.com>
  • Loading branch information
iyear committed Jul 13, 2022
1 parent 24f059e commit 2938efd
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions config/config.example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
bot:
token: YOUR_BOT_TOKEN
admin:
- YOUR_ADMIN_ID
- YOUR_ADMIN_ID
- YOUR_ADMIN_ID
socks5:
enable: false
host: localhost
port: 1080
user:
password:
ctrl:
# support markdown style: https://core.telegram.org/bots/api#markdown-style
notice: |
YOUR_NOTICE_MESSAGE
YOUR_NOTICE_MESSAGE
YOUR_NOTICE_MESSAGE
i18n: ./config/i18n
default_language: zh-cn
search:
page_size: 10
storage:
cache:
driver: gocache # gocache
kv:
driver: bolt # bolt
options:
path: ./data/data.kv
search:
driver: bleve # bleve
options:
path: ./data/msg.index
dict: ./config/dict.txt

0 comments on commit 2938efd

Please sign in to comment.