Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterServices ¶
func RegisterServices(cs *context.ServiceContext) error
RegisterServices register services to chain context
Types ¶
type ContractService ¶
type ContractService struct { common.ServiceLifecycle // contains filtered or unexported fields }
func NewContractService ¶
func NewContractService(cfgFile string) (*ContractService, error)
func (*ContractService) Init ¶
func (cs *ContractService) Init() error
func (*ContractService) Start ¶
func (cs *ContractService) Start() error
func (*ContractService) Status ¶
func (cs *ContractService) Status() int32
func (*ContractService) Stop ¶
func (cs *ContractService) Stop() error
type LogService ¶
type LogService struct { common.ServiceLifecycle // contains filtered or unexported fields }
func NewLogService ¶
func NewLogService(cfgFile string) *LogService
func (*LogService) Init ¶
func (ls *LogService) Init() error
func (*LogService) Start ¶
func (ls *LogService) Start() error
func (*LogService) Status ¶
func (ls *LogService) Status() int32
func (*LogService) Stop ¶
func (ls *LogService) Stop() error
type RPCService ¶
type RPCService struct { common.ServiceLifecycle // contains filtered or unexported fields }
func NewRPCService ¶
func NewRPCService(cfgFile string, cs *ContractService) (*RPCService, error)
func (*RPCService) Init ¶
func (rs *RPCService) Init() error
func (*RPCService) RPC ¶
func (rs *RPCService) RPC() *rpc.RPC
func (*RPCService) Start ¶
func (rs *RPCService) Start() error
func (*RPCService) Status ¶
func (rs *RPCService) Status() int32
func (*RPCService) Stop ¶
func (rs *RPCService) Stop() error
Click to show internal directories.
Click to hide internal directories.