cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NormalizeEndpoint

func NormalizeEndpoint(endpoint string, startTLSProto ...string) (string, error)

NormalizeEndpoint parses and normalizes a host or host:port endpoint. An optional startTLSProto can be provided to select the default port for STARTTLS protocols (smtp=587, imap=143, pop3=110, ldap=389).

Types

This section is empty.

Jump to

Keyboard shortcuts

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