condition/engine/engine_param.go

16 lines
297 B
Go

package engine
import "git.fsdpf.net/go/contracts"
type EngineParam struct {
data contracts.GlobalParams
}
func (this EngineParam) GetParam(k string) contracts.GlobalParams {
return this.data.Get(k)
}
func (this EngineParam) GetGlobalParamsUser() contracts.User {
return this.data.User()
}