mirror of
https://github.com/0ceanSlim/grain.git
synced 2024-10-30 01:26:32 +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"`
|
||
|
}
|