Skip to content

Commit

Permalink
🔧 添加或修改配置文件: config.go结构
Browse files Browse the repository at this point in the history
  • Loading branch information
owwkmidream committed Mar 7, 2024
1 parent 13b1946 commit a663617
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import (
)

type Config struct {
URL map[string]string
LoginData map[string]string
LogoutData map[string]string
Headers map[string]string
Cookie map[string]string
Options map[string]string
URL map[string]string `toml:"url"`
LoginData map[string]string `toml:"login_data"`
LogoutData map[string]string `toml:"logout_data"`
Headers map[string]string `toml:"headers"`
Cookie map[string]string `toml:"cookie"`
Options map[string]string `toml:"options"`
}

var instance *Config
Expand Down

0 comments on commit a663617

Please sign in to comment.