pkg

package
v0.0.0-...-10b7416 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(lhs, rhs []string, insensitive bool) []string

Types

type App

type App struct {
	Program string   `json:"program"`
	Args    []string `json:"args"`
	Env     []string `json:"env"`
}

type Application

type Application interface {
	Start(program string, env []string, args ...string) bool
}

type Config

type Config struct {
	Env      []string       `json:"env"`
	Programs map[string]App `json:"programs"`
}

type GenericApplication

type GenericApplication struct {
}

func (GenericApplication) Start

func (g GenericApplication) Start(program string, env []string, args ...string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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