npm

package
v0.0.0-...-e7bb422 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Plugin = plugins.Plugin{
	Config: &Config{},
	Inject: NewController,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	Folder string `yaml:"npm_cache"`
}

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(r web.RouterPool, conf *Config) *Controller

func (*Controller) Down

func (v *Controller) Down() error

func (*Controller) Index

func (v *Controller) Index(c web.Context)

func (*Controller) Npm

func (v *Controller) Npm(c web.Context)

func (*Controller) Up

func (v *Controller) Up() error

func (*Controller) Yarn

func (v *Controller) Yarn(c web.Context)

Jump to

Keyboard shortcuts

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