federation

package
v0.0.0-...-4c68550 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LoginError = errors.New("login to remote instance failed")
)

Functions

func NewHostSettings

func NewHostSettings(host hostx, homeInstanceActor *url.URL, token string) *hostSettings

Types

type Connector

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

func NewConnector

func NewConnector(
	ctx context.Context,
	homeActorIri url.URL,
	hostActorIri url.URL,
	space string,
	liveStream string,
	token string,
) *Connector

func (*Connector) BuildEgress

func (c *Connector) BuildEgress() (*commands.OfferEgress, error)

func (*Connector) BuildIngress

func (c *Connector) BuildIngress() (*commands.OfferIngress, error)

func (*Connector) GetInstanceId

func (c *Connector) GetInstanceId() uuid.UUID

func (*Connector) IsThisInstanceLiveSteamHost

func (c *Connector) IsThisInstanceLiveSteamHost() bool

type HostController

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

Jump to

Keyboard shortcuts

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