Help us shape the future of Go! Take the 2026 Go Developer Survey

runtime

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2023 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package runtime is the micro runtime

Package runtime is the micro runtime

Index

Constants

View Source
const (
	// RunUsage message for the run command
	RunUsage = "Run a service: micro run [source]"
	// KillUsage message for the kill command
	KillUsage = "Kill a service: micro kill [source]"
	// UpdateUsage message for the update command
	UpdateUsage = "Update a service: micro update [source]"
	// GetUsage message for micro get command
	GetUsage = "Get the status of services"
	// ServicesUsage message for micro services command
	ServicesUsage = "micro services"
	// CannotWatch message for the run command
	CannotWatch = "Cannot watch filesystem on this runtime"
)

Variables

View Source
var (
	// DefaultRetries which should be attempted when starting a service
	DefaultRetries = 3
	// Git orgs we currently support for credentials
	GitOrgs = []string{"github", "bitbucket", "gitlab"}
)

Functions

func NewWatcher

func NewWatcher(root string, delay time.Duration, fn CallbackFunc) (*watcher, error)

Types

type CallbackFunc

type CallbackFunc func() error

Jump to

Keyboard shortcuts

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