module

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: ISC Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(name string) bool

Exists check if module exists

func GetPath

func GetPath(name string) string

GetPath of module by name

func LoadModule

func LoadModule(path string) error

LoadModule load plugin from file

func LoadModules

func LoadModules(dir string) error

LoadModules load all plugins in modules

func RemoveModule

func RemoveModule(path string) error

RemoveModule disable plugin and delete

Types

type Module

type Module struct {
	Name    string
	Author  string
	Version string
}

Module structure

Jump to

Keyboard shortcuts

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