svc

package module
v0.0.0-...-1c58ede Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

README

service shim example

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(s Service) *cobra.Command

Types

type Service

type Service interface {
	Name() string
	Flags(*pflag.FlagSet) error
	Configure() interface{}
	ValidateConfig() error
	Run(ctx context.Context) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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