controller

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: BSD-3-Clause Imports: 28 Imported by: 1

Documentation

Overview

Package controller implements a controller for minogrpc.

The controller can be used in a CLI to inject a dependency for Mino. It will start the overlay on the start command, and make sure resources are cleaned when the CLI daemon is stopping.

Documentation Last Review: 07.10.2020

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewController

func NewController() node.Initializer

NewController returns a new initializer to start an instance of Minogrpc.

Types

type StoppableMino

type StoppableMino interface {
	mino.Mino

	GracefulStop() error
}

StoppableMino is an extension of Mino to allow one to stop the instance.

Jump to

Keyboard shortcuts

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