cli

package
v0.11.25 Latest Latest
Warning

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

Go to latest
Published: May 3, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrFServerListenHost       = "host name is not valid: '%v'"
	ErrFServerListenPort       = "port is not valid: '%v'"
	ErrFServerSharedFolderPath = "shared folder is not valid: '%v'"
	ErrNullPointer             = "null pointer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	ServerListenHost string
	ServerListenPort uint16
	SharedFolderPath string
}

func NewArgumentsFromOs

func NewArgumentsFromOs(
	listenServerHostName string,
	listenServerPortNumber string,
	sharedFolderPath string,
) (args *Arguments, err error)

func (*Arguments) IsValid

func (a *Arguments) IsValid() (ok bool, err error)

Jump to

Keyboard shortcuts

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