From 37f7f18819f027c836b2b5cd7606e9b177af454c Mon Sep 17 00:00:00 2001 From: ale <ale@incal.net> Date: Tue, 5 Nov 2013 10:07:02 +0000 Subject: [PATCH] move docstring --- http.go | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/http.go b/http.go index beec4e6b..702c35bc 100644 --- a/http.go +++ b/http.go @@ -1,13 +1,3 @@ -// 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 -- GitLab