service

package
v0.0.0-...-a173fca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2021 License: LGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConfigFileFlag = cli.StringFlag{
		Name:  "config",
		Usage: "TODO add config description",
	}
)

Functions

This section is empty.

Types

type CliService

type CliService struct {
	Config         *cliTypes.Config
	Log            *log.LogService                `service:"log"`
	Blockmgr       *blockmgr.BlockMgr             `service:"blockmgr"`
	AccountService *accountService.AccountService `service:"accounts"`
	RpcService     *rpc2.RpcService               `service:"rpc"`
	// contains filtered or unexported fields
}

CliService provides an interactive command line window

func (*CliService) Api

func (cliService *CliService) Api() []app.API

Api api none

func (*CliService) CommandFlags

func (cliService *CliService) CommandFlags() ([]cli.Command, []cli.Flag)

Flags flags enable load js and execute before run

func (*CliService) Init

func (cliService *CliService) Init(executeContext *app.ExecuteContext) error

Init set console config

func (*CliService) Name

func (cliService *CliService) Name() string

Name name

func (*CliService) P2pMessages

func (cliService *CliService) P2pMessages() map[int]interface{}

func (*CliService) Receive

func (cliService *CliService) Receive(context actor.Context)

func (*CliService) Start

func (cliService *CliService) Start(executeContext *app.ExecuteContext) error

func (*CliService) Stop

func (cliService *CliService) Stop(executeContext *app.ExecuteContext) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL