Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server ServerConfig `json:"server"`
// PprofPort is the port the pprof endpoint binds to. 0 disables profiling.
PprofPort int `json:"pprofPort" pflag:",Port the pprof endpoint binds to; 0 disables profiling"`
HeartbeatGracePeriodMultiplier int `json:"heartbeatGracePeriodMultiplier" pflag:",Number of heartbeats before a reservation expires without an extension."`
MaxReservationHeartbeat stdconfig.Duration `json:"maxReservationHeartbeat" pflag:",Maximum reservation heartbeat interval."`
}
type ServerConfig ¶
Click to show internal directories.
Click to hide internal directories.