runtime

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2019 License: Apache-2.0 Imports: 18 Imported by: 2

Documentation

Overview

Package runtime is the micro runtime

Index

Constants

View Source
const (
	// RunUsage message for the run command
	RunUsage = "Required usage: micro run service --name example --version latest --source go/package/import/path"
	// KillUsage message for the kill command
	KillUsage = "Require usage: micro kill service --name example (optional: --version latest)"
	// Getusage message for micro get command
	GetUsage = "Require usage: micro ps service --name example (optional: --version latest)"
)

Variables

View Source
var (
	// Name of the runtime
	Name = "go.micro.runtime"
	// Address of the runtime
	Address = ":8088"
)

Functions

func Commands

func Commands(options ...micro.Option) []cli.Command

func Flags added in v1.17.0

func Flags() []cli.Flag

Flags is shared flags so we don't have to continually re-add

func Plugins

func Plugins() []plugin.Plugin

Plugins lists the sidecar plugins

func Register

func Register(pl plugin.Plugin) error

Register registers an sidecar plugin

Types

This section is empty.

Directories

Path Synopsis
Package notifier is a file server notifer
Package notifier is a file server notifer

Jump to

Keyboard shortcuts

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