server

package
v0.0.0-...-8626583 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RadioServer

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

func MakeRadioServer

func MakeRadioServer(frontend frontends.Frontend) *RadioServer

func (*RadioServer) Bye

func (*RadioServer) Hello

func (*RadioServer) IQ

func (*RadioServer) Listen

func (rs *RadioServer) Listen(address string) error

func (*RadioServer) Me

region GRPC Stuff

func (*RadioServer) Ping

func (*RadioServer) ServerInfo

func (*RadioServer) SmartIQ

func (*RadioServer) Stop

func (rs *RadioServer) Stop()

type Session

type Session struct {
	protocol.MeData
	protocol.LoginData

	ID         string
	LastUpdate time.Time

	IQFifo      *fifo.Queue
	SmartIQFifo *fifo.Queue
	CG          *DSP.ChannelGenerator
	// contains filtered or unexported fields
}

func GenerateSession

func GenerateSession(loginData *protocol.HelloData, controlAllowed bool) *Session

func (*Session) Expired

func (s *Session) Expired() bool

func (*Session) FullStop

func (s *Session) FullStop()

func (*Session) IsFullStopped

func (s *Session) IsFullStopped() bool

func (*Session) KeepAlive

func (s *Session) KeepAlive()

Jump to

Keyboard shortcuts

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