Documentation
¶
Index ¶
Constants ¶
View Source
const ( CodeStartStream = protocols.Code(15 + iota) CodeStopStream )
Variables ¶
View Source
var ( Protocol *ampProtocol MiniProtocol = protocols.NewMiniProtocol(Protocol) )
Functions ¶
Types ¶
type ClientDescription ¶
func (*ClientDescription) Client ¶
func (client *ClientDescription) Client() string
type Handler ¶
type Handler interface {
StopServer()
StartStream(val *StartStream) error
StopStream(val *StopStream) error
}
type StartStream ¶
type StartStream struct {
ClientDescription
MediaFile string
}
type StopStream ¶
type StopStream struct {
ClientDescription
}
Click to show internal directories.
Click to hide internal directories.