- Timestamp:
- Mar 26, 2024, 5:38:17 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmd/yukari/main.go
r152 r154 903 903 904 904 func main() { 905 config.Config.ListenAddress = "127.0.0.1:3000" 906 config.Config.Key = "" 907 config.Config.IPV6 = true 908 config.Config.Debug = false 909 config.Config.RequestTimeout = 5 910 config.Config.FollowRedirect = false 911 config.Config.UrlParameter = "yukariurl" 912 config.Config.HashParameter = "yukarihash" 913 config.Config.MaxConnsPerHost = 5 914 config.Config.ProxyEnv = false 915 905 916 var configFile string 906 917 var proxy string … … 916 927 if configFile != "" { 917 928 config.ReadConfig(configFile) 918 } else {919 config.Config.ListenAddress = "127.0.0.1:3000"920 config.Config.Key = ""921 config.Config.IPV6 = true922 config.Config.Debug = false923 config.Config.RequestTimeout = 5924 config.Config.FollowRedirect = false925 config.Config.UrlParameter = "yukariurl"926 config.Config.HashParameter = "yukarihash"927 config.Config.MaxConnsPerHost = 5928 config.Config.ProxyEnv = false929 929 } 930 930
Note:
See TracChangeset
for help on using the changeset viewer.