remote

package
v3.0.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sys

type Sys struct {
	component.Base
	// contains filtered or unexported fields
}

Sys contains logic for handling sys remotes

func NewSys

func NewSys(sessionPool session.SessionPool) *Sys

NewSys returns a new Sys instance

func (*Sys) BindSession

func (s *Sys) BindSession(ctx context.Context, sessionData *protos.Session) (*protos.Response, error)

BindSession binds the local session

func (*Sys) Kick

func (s *Sys) Kick(ctx context.Context, msg *protos.KickMsg) (*protos.KickAnswer, error)

Kick kicks a local user

func (*Sys) PushSession

func (s *Sys) PushSession(ctx context.Context, sessionData *protos.Session) (*protos.Response, error)

PushSession updates the local session

Jump to

Keyboard shortcuts

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