package
1.0.0-rc1
Repository: https://github.com/samaritan-proxy/samaritan.git
Documentation: pkg.go.dev

# Functions

IsEqual returns whether two hosts are the same.
New creates a host instance.
NewSet creates a set.
NewStats creates a stats container for host.
NewWithType creates a host instance with specified type.
ParseType always returns a valid Type.

# Constants

Available host types.
Available host types.

# Structs

Host represents a backend host.
Set is a hosts container.
Stats describes the stats of a host.

# Type aliases

Type indicates the type of host.