plugins

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: BSD-3-Clause Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePlugin

func CreatePlugin(app *application.Avalanche, subnetName string, pluginDir string) (string, error)

Downloads the subnet's VM (if necessary) and copies it into the plugin directory

func EditConfigFile

func EditConfigFile(
	app *application.Avalanche,
	subnetID string,
	networkID string,
	configFile string,
	forceWrite bool,
) error

Edits an Avalanchego config file or creates one if it doesn't exist. Contains prompts unless forceWrite is set to true.

Types

This section is empty.

Jump to

Keyboard shortcuts

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