manager

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package manager contains the simulator manager coordinating lifecycle of the NB API and simulation controller

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ServiceFlags *cli.ServiceEndpointFlags
}

Config is a manager configuration

type Manager

type Manager struct {
	cli.Daemon
	Config Config
	// contains filtered or unexported fields
}

Manager is single point of entry for the fabric-sim

func NewManager

func NewManager(cfg Config) *Manager

NewManager initializes the application manager

func (*Manager) Start

func (m *Manager) Start() error

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

func (*Manager) Stop added in v0.1.18

func (m *Manager) Stop()

Stop stops the manager

Jump to

Keyboard shortcuts

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