core

package
v0.0.0-...-88fa2b6 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2019 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	PathTable pathtable.Client
	Router    router.Router
}

Config holds service configuration

type Project

type Project interface {
	InstallProject(ctx context.Context, dpmFileLocation string) error
	DeactivateProject(ctx context.Context, pwd string) error
}

Project holds methods related to configuring a project

type Runner

type Runner interface {
	Run(ctx context.Context, args []string) error
}

Runner holds methods related to running a command

type Service

type Service interface {
	Runner
	Project
}

Service holds core methods

func New

func New(config *Config) Service

New inits a core service

Jump to

Keyboard shortcuts

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