connectinfo

package
v1.52.0 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2025 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateServerInput

func ValidateServerInput(server string) bool

Types

type ConnectInfo

type ConnectInfo struct {
	Value   string
	Account *auth.Account
	// contains filtered or unexported fields
}

func (*ConnectInfo) Address

func (c *ConnectInfo) Address(ctx context.Context) (string, error)

func (*ConnectInfo) IsReplay

func (c *ConnectInfo) IsReplay() bool

func (*ConnectInfo) Name

func (c *ConnectInfo) Name(ctx context.Context) (string, error)

func (*ConnectInfo) SetFeaturedServer added in v1.51.0

func (c *ConnectInfo) SetFeaturedServer(server *discovery.FeaturedServer)

func (*ConnectInfo) SetGathering

func (c *ConnectInfo) SetGathering(gathering *discovery.Gathering)

func (*ConnectInfo) SetRealm

func (c *ConnectInfo) SetRealm(realm *realms.Realm)

type ErrNotFound added in v1.52.0

type ErrNotFound struct {
	Name string
}

func (*ErrNotFound) Error added in v1.52.0

func (e *ErrNotFound) Error() string

Jump to

Keyboard shortcuts

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