endpoint

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2026 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Host              string
	Port              int
	Credential        *credential.Credential
	CACertificatePath string
}

Config represents a network endpoint with optional authentication and TLS.

func (*Config) Target

func (c *Config) Target() string

Target returns the host:port connection string.

func (*Config) Validate

func (c *Config) Validate() error

Validate checks if the Config fields are set correctly.

Jump to

Keyboard shortcuts

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