controller

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 2, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseFlags

func ParseFlags() (entity.Session, error)

ParseFlags handles command-line flags and returns a Session configuration

Types

type Flag

type Flag struct {
	Plaintext          bool
	Insecure           bool
	CACert             string
	Cert               string
	Key                string
	Data               string
	AllowUnknownFields bool
	ConnectTimeout     float64
	KeepAliveTime      float64
	MaxTimeOut         float64
	MaxMsgSz           int
}

Config holds all the configuration options for the application

func (Flag) Validate

func (f Flag) Validate() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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