Просмотр исходного кода

Remove access-file

tags/v2.0.0-rc1
9seconds 5 лет назад
Родитель
Сommit
f89f5f8469
2 измененных файлов: 0 добавлений и 8 удалений
  1. 0
    7
      example.config.toml
  2. 0
    1
      raw_config.go

+ 0
- 7
example.config.toml Просмотреть файл

44
 # access.
44
 # access.
45
 cloak-port = 443
45
 cloak-port = 443
46
 
46
 
47
-# Path to access file. Each time when proxy starts up, it writes an
48
-# access file. This file contains a JSON with settings how to access
49
-# this proxy.
50
-#
51
-# Pass filepath here or '-' if you want to dump into stdout.
52
-access-file = "-"
53
-
54
 # network defines different network-related settings
47
 # network defines different network-related settings
55
 [network]
48
 [network]
56
 # please be aware that mtg needs to do some external requests. For
49
 # please be aware that mtg needs to do some external requests. For

+ 0
- 1
raw_config.go Просмотреть файл

14
 	TCPBuffer  string `toml:"tcp-buffer"`
14
 	TCPBuffer  string `toml:"tcp-buffer"`
15
 	PreferIP   string `toml:"prefer-ip"`
15
 	PreferIP   string `toml:"prefer-ip"`
16
 	CloakPort  uint   `toml:"cloak-port"`
16
 	CloakPort  uint   `toml:"cloak-port"`
17
-	AccessFile string `toml:"access-file"`
18
 	Probes     struct {
17
 	Probes     struct {
19
 		Time struct {
18
 		Time struct {
20
 			Enabled       bool   `toml:"enabled"`
19
 			Enabled       bool   `toml:"enabled"`

Загрузка…
Отмена
Сохранить