Changed Opts to APIOpts in multiple structs used in apier/

This commit is contained in:
andronache
2021-03-22 15:03:18 +02:00
committed by Dan Christian Bogos
parent 32c234a6c7
commit 38b02c642c
34 changed files with 302 additions and 302 deletions

View File

@@ -36,7 +36,7 @@ func init() {
type CmdSetDispatcherHost struct {
name string
rpcMethod string
rpcParams *engine.DispatcherHostWithOpts
rpcParams *engine.DispatcherHostWithAPIOpts
*CommandExecuter
}
@@ -50,9 +50,9 @@ func (self *CmdSetDispatcherHost) RpcMethod() string {
func (self *CmdSetDispatcherHost) RpcParams(reset bool) interface{} {
if reset || self.rpcParams == nil {
self.rpcParams = &engine.DispatcherHostWithOpts{
self.rpcParams = &engine.DispatcherHostWithAPIOpts{
DispatcherHost: new(engine.DispatcherHost),
Opts: make(map[string]interface{}),
APIOpts: make(map[string]interface{}),
}
}
return self.rpcParams