attributes

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attributes

type Attributes struct {
	BalancerPriority int
	BalancerWeight   int
}

Attributes provides server attribute values.

func New

func New() *Attributes

New returns attributes with default values.

func (*Attributes) Load

func (sa *Attributes) Load(key, value string)

Load used internally to load keys and values from strings.

func (*Attributes) Values

func (sa *Attributes) Values() []string

Values used internally to create an string array of keys and values.

Jump to

Keyboard shortcuts

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