static

package
v1.25.0-115.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2024 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MembershipModule

func MembershipModule(
	hostsByService map[primitives.ServiceName]Hosts,
) fx.Option

Types

type Hosts

type Hosts struct {
	// Addresses of all hosts per service.
	All []string
	// Address of this host. May be empty if this host is not running this service.
	Self string
}

func SingleLocalHost

func SingleLocalHost(host string) Hosts

Jump to

Keyboard shortcuts

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