Skip to content

Commit

Permalink
revert rest config
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Nov 29, 2024
1 parent d5cb12b commit 9f6d375
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions server/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,6 @@ type GRPCConfig struct {
MaxSendMsgSize int `mapstructure:"max-send-msg-size"`
}

// RESTConfig defines configuration for the rest server.
type RESTConfig struct {
// Enable defines if the rest server should be enabled.
Enable bool `mapstructure:"enable"`

// Address defines the API server to listen on
Address string `mapstructure:"address"`
}

// StateSyncConfig defines the state sync snapshot configuration.
type StateSyncConfig struct {
// SnapshotInterval sets the interval at which state sync snapshots are taken.
Expand Down Expand Up @@ -193,7 +184,6 @@ type Config struct {
Telemetry telemetry.Config `mapstructure:"telemetry"`
API APIConfig `mapstructure:"api"`
GRPC GRPCConfig `mapstructure:"grpc"`
REST RESTConfig `mapstructure:"rest"`
StateSync StateSyncConfig `mapstructure:"state-sync"`
Streaming StreamingConfig `mapstructure:"streaming"`
Mempool MempoolConfig `mapstructure:"mempool"`
Expand Down

0 comments on commit 9f6d375

Please sign in to comment.