cmdhandlers

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MonitorHandler

type MonitorHandler struct {
	// contains filtered or unexported fields
}

func NewMonitorHandler

func NewMonitorHandler(
	controller ports.MonitorController,
) *MonitorHandler

func (*MonitorHandler) AddSubCommands

func (h *MonitorHandler) AddSubCommands(subcommands ...ports.Command)

func (*MonitorHandler) Command

func (h *MonitorHandler) Command() *cobra.Command

func (*MonitorHandler) Start

func (h *MonitorHandler) Start()

type RootHandler

type RootHandler struct {
	// contains filtered or unexported fields
}

func NewRootHandler

func NewRootHandler(
	controller ports.RootController,
) *RootHandler

func (*RootHandler) AddSubCommands

func (h *RootHandler) AddSubCommands(subcommands ...ports.Command)

func (*RootHandler) Start

func (h *RootHandler) Start()

type StaticHandler

type StaticHandler struct {
	// contains filtered or unexported fields
}

func NewStaticHandler

func NewStaticHandler(
	controller ports.VersionController,
) *StaticHandler

func (*StaticHandler) AddSubCommands

func (h *StaticHandler) AddSubCommands(subcommands ...ports.Command)

func (*StaticHandler) Command

func (h *StaticHandler) Command() *cobra.Command

func (*StaticHandler) Start

func (h *StaticHandler) Start()

type VersionHandler

type VersionHandler struct {
	// contains filtered or unexported fields
}

func NewVersionHandler

func NewVersionHandler(
	controller ports.VersionController,
) *VersionHandler

func (*VersionHandler) AddSubCommands

func (h *VersionHandler) AddSubCommands(subcommands ...ports.Command)

func (*VersionHandler) Command

func (h *VersionHandler) Command() *cobra.Command

func (*VersionHandler) Start

func (h *VersionHandler) Start()

Jump to

Keyboard shortcuts

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