18 lines
278 B
Go
18 lines
278 B
Go
package engine
|
|
|
|
import (
|
|
"git.fsdpf.net/go/req"
|
|
)
|
|
|
|
type EngineParam struct {
|
|
data req.GlobalParams
|
|
}
|
|
|
|
func (this EngineParam) GetParam(k string) req.GlobalParams {
|
|
return this.data.Get(k)
|
|
}
|
|
|
|
func (this EngineParam) GetGlobalParamsUser() req.User {
|
|
return this.data.User()
|
|
}
|