cli

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: GPL-3.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	sync.Mutex
	// contains filtered or unexported fields
}

Service is a structure for the CLI service that holds the state of the CLI

func NewCLIService

func NewCLIService(password string, secure bool, tlsKey, tlsCert, tlsCA string) *Service

NewCLIService is a factory that creates a new CLI service

func (*Service) Run

func (s *Service) Run(addr string)

Run is the main entry point for the CLI service called by the main package

Jump to

Keyboard shortcuts

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