mirror of
https://github.com/0ceanSlim/grain.git
synced 2024-11-23 00:57:14 +00:00
9 lines
207 B
Go
9 lines
207 B
Go
package config
|
|
|
|
type ResourceLimits struct {
|
|
CPUCores int `yaml:"cpu_cores"`
|
|
MemoryMB int `yaml:"memory_mb"`
|
|
HeapSizeMB int `yaml:"heap_size_mb"`
|
|
MaxGoroutines int `yaml:"max_goroutines"`
|
|
}
|