manager

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	CAPath   string
	KeyPath  string
	CertPath string
	GRPCPort int
	NoTLS    bool
}

Config is a manager configuration

type Manager

type Manager struct {
	Config     Config
	Simulation *simulator.Simulation
}

Manager single point of entry for the fabric-sim

func NewManager

func NewManager(cfg Config) *Manager

NewManager initializes the application manager

func (*Manager) Close

func (m *Manager) Close()

Close kills the manager

func (*Manager) Run

func (m *Manager) Run()

Run runs manager

func (*Manager) Start

func (m *Manager) Start() error

Start initializes and starts the core simulator and the NB gRPC API.

Jump to

Keyboard shortcuts

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