cli

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 12 Imported by: 1

Documentation

Overview

import "code.dopame.me/veonik/squircy3/cli"

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	RootDir      string   `toml:"root_path"`
	PluginDir    string   `toml:"plugin_path"`
	ExtraPlugins []string `toml:"extra_plugins"`

	// Specify additional plugins that are a part of the main executable.
	LinkedPlugins []plugin.Initializer
}

type Manager

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

func NewManager

func NewManager(rootDir string, extraPlugins ...string) (*Manager, error)

func (*Manager) Loop

func (manager *Manager) Loop() error

func (*Manager) Plugins

func (manager *Manager) Plugins() *plugin.Manager

func (*Manager) Shutdown

func (manager *Manager) Shutdown() error

func (*Manager) Start

func (manager *Manager) Start() error

func (*Manager) Stop

func (manager *Manager) Stop()

Jump to

Keyboard shortcuts

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