1
Fork 0

Make Redirect a method of group.

This commit is contained in:
Juliusz Chroboczek 2020-09-13 13:34:53 +02:00
parent f2fcc09e61
commit 03e57aac90
1 changed files with 4 additions and 0 deletions

View File

@ -71,6 +71,10 @@ func (g *group) AllowRecording() bool {
return g.description.AllowRecording
}
func (g *group) Redirect() string {
return g.description.Redirect
}
var groups struct {
mu sync.Mutex
groups map[string]*group