package config import "reflect" const JSCKSourceSleeper string = "sleeper" type JobSearchConfigSourceSleeper struct { JobSearchConfigSource BlockShutdown bool `cfg:"block_shutdown"` } /* * General section functions * See related methods in section.go */ func (c JobSearchConfigSourceSleeper) Map() map[string]any { return mapOf(c) } func (c JobSearchConfigSourceSleeper) Flatten() map[string]any { return flattenOf(JSCKSourceSleeper, c) } func (c JobSearchConfigSourceSleeper) TypeOf(key string) (reflect.Kind, error) { return typeOf(c, key) } func (c JobSearchConfigSourceSleeper) ValueOf(key string) (any, error) { return valueOf(c, key) } func (c *JobSearchConfigSourceSleeper) SetValue(key string, value any) error { return setValue(c, key, value) }