Skip to content
Snippets Groups Projects
Commit 37f7f188 authored by ale's avatar ale
Browse files

move docstring

parent 413019ca
No related branches found
No related tags found
No related merge requests found
// HTTP redirector.
//
// All user-facing traffic reaches the redirector first (this is
// where the first-level, high-ttl redirection points to).
//
// The purpose of the HTTP redirector is two-fold: sources will be
// proxied to the master icecast server, while clients will be served
// a .m3u file directly pointing at the relays.
//
package radioai
import (
......@@ -46,6 +36,15 @@ func (anc *activeNodesCache) GetNodes() []string {
return anc.nodes
}
// HTTP redirector.
//
// All user-facing traffic reaches the redirector first (this is
// where the first-level, high-ttl redirection points to).
//
// The purpose of the HTTP redirector is two-fold: sources will be
// proxied to the master icecast server, while clients will be served
// a .m3u file directly pointing at the relays.
//
type HttpRedirector struct {
client *RadioAPI
nodeCache *activeNodesCache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment