Skip to content

Commit

Permalink
rafactor(config): add experimental option to server config
Browse files Browse the repository at this point in the history
  • Loading branch information
wlwilliamx committed Oct 21, 2024
1 parent 76ebb37 commit 8e2322b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/config/server_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ type LogConfig struct {
}

var defaultServerConfig = &ServerConfig{
Experimental: false,
Addr: "127.0.0.1:8300",
AdvertiseAddr: "",
LogFile: "",
Expand Down Expand Up @@ -126,6 +127,7 @@ var defaultServerConfig = &ServerConfig{

// ServerConfig represents a config for server
type ServerConfig struct {
Experimental bool `toml:"experimental" json:"experimental"`
Addr string `toml:"addr" json:"addr"`
AdvertiseAddr string `toml:"advertise-addr" json:"advertise-addr"`

Expand Down

0 comments on commit 8e2322b

Please sign in to comment.