github.com/turingchain2020/turingchain@v1.1.21/system/dapp/none/plugin.go (about)

     1  // Copyright Turing Corp. 2018 All Rights Reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // Package none 系统级dapp,执行内容为空
     6  package none
     7  
     8  import (
     9  	"github.com/turingchain2020/turingchain/pluginmgr"
    10  	"github.com/turingchain2020/turingchain/system/dapp/none/executor"
    11  )
    12  
    13  func init() {
    14  	pluginmgr.Register(&pluginmgr.PluginBase{
    15  		Name:     "none",
    16  		ExecName: executor.GetName(),
    17  		Exec:     executor.Init,
    18  		Cmd:      nil,
    19  		RPC:      nil,
    20  	})
    21  }