cliEntry

package
v0.1.18 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "cli_entry"

Variables

This section is empty.

Functions

This section is empty.

Types

type Cfg

type Cfg struct{}

type Entry

type Entry interface {
	entry.Entry
	Register(run Service, optList ...Opt)
}

func New

func New(name string) Entry

type Handler

type Handler func(fx.Ctx)

type Opt

type Opt func(opts *options)

type Service

type Service interface {
	Run() map[string]Handler
	RunLoop() map[string]Handler
}

Jump to

Keyboard shortcuts

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