authmanager

package
v0.0.0-...-9a2c5cd Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

type Discovery struct {
	// contains filtered or unexported fields
}

func New

func New(discovery registry.Discovery) *Discovery

func (*Discovery) GetByName

func (d *Discovery) GetByName(serviceName string) (discovery.ListConnections, error)

func (*Discovery) RegisterService

func (d *Discovery) RegisterService(name string, pubHost string, pubPort int, ttl time.Duration, criticalTtl time.Duration) error

func (*Discovery) Shutdown

func (d *Discovery) Shutdown()

Jump to

Keyboard shortcuts

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