mirror of
https://github.com/0ceanSlim/grain.git
synced 2024-11-24 17:33:22 +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"`
|
|
}
|