ctl

package
v0.0.0-...-6ed4abe Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package ctl NOTES

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Handler

func Handler() http.Handler

Handler returns the http handler of control tools.

func LoadCtl

func LoadCtl(commands ...cmd.Cmd) error

LoadCtl load control tools with http handler.

func WithBasics

func WithBasics(sd serviced.Service) []cmd.Cmd

WithBasics init and returns the basic commands(register & deregister & log) that all servers needed.

Types

type Ctl

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

Ctl control tools structure

Directories

Path Synopsis
Package cmd NOTES
Package cmd NOTES

Jump to

Keyboard shortcuts

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