delago.dedis.ch/dela/mino/minogrpc/controller Index | Files

package controller

import "go.dedis.ch/dela/mino/minogrpc/controller"

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

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.

Source Files

actions.go mod.go

Version
v0.1.0 (latest)
Published
Apr 10, 2024
Platform
linux/amd64
Imports
28 packages
Last checked
1 month ago

Tools for package owners.