Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotFoundHandler ¶ added in v0.4.0
NotFoundHandler handles the "not found" situation. It should be a catch-all for all urls.
Types ¶
type Config ¶ added in v0.3.0
type Config struct {
DeezerARL string
MusixMatchUserToken string
MusixMatchOBUserToken string
YoutubeDeveloperKey string
SpotifyClientID string
SpotifyClientSecret string
CSNProxyURL string
RadioEnabled bool
}
Config contains the API keys for Server
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a MusicStream server
func (*Server) StartWithTLS ¶ added in v0.4.0
StartWithTLS starts the server, listening at addr, also tries to get a cert from LetsEncrypt
Click to show internal directories.
Click to hide internal directories.