Documentation ¶
Index ¶
- type RadioServer
- func (rs *RadioServer) Bye(ctx context.Context, ld *protocol.LoginData) (*protocol.ByeReturn, error)
- func (rs *RadioServer) Hello(ctx context.Context, hdata *protocol.HelloData) (*protocol.HelloReturn, error)
- func (rs *RadioServer) IQ(cc *protocol.ChannelConfig, server protocol.RadioServer_IQServer) error
- func (rs *RadioServer) Listen(address string) error
- func (rs *RadioServer) Me(ctx context.Context, data *protocol.LoginData) (*protocol.MeData, error)
- func (rs *RadioServer) Ping(ctx context.Context, pd *protocol.PingData) (*protocol.PingData, error)
- func (rs *RadioServer) ServerInfo(context.Context, *protocol.Empty) (*protocol.ServerInfoData, error)
- func (rs *RadioServer) SmartIQ(cc *protocol.ChannelConfig, server protocol.RadioServer_SmartIQServer) error
- func (rs *RadioServer) Stop()
- type Session
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) Hello ¶
func (rs *RadioServer) Hello(ctx context.Context, hdata *protocol.HelloData) (*protocol.HelloReturn, error)
func (*RadioServer) IQ ¶
func (rs *RadioServer) IQ(cc *protocol.ChannelConfig, server protocol.RadioServer_IQServer) error
func (*RadioServer) Listen ¶
func (rs *RadioServer) Listen(address string) error
func (*RadioServer) ServerInfo ¶
func (rs *RadioServer) ServerInfo(context.Context, *protocol.Empty) (*protocol.ServerInfoData, error)
func (*RadioServer) SmartIQ ¶
func (rs *RadioServer) SmartIQ(cc *protocol.ChannelConfig, server protocol.RadioServer_SmartIQServer) error
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 (*Session) IsFullStopped ¶
Click to show internal directories.
Click to hide internal directories.