// Masters returns a list of master nodes
Masters returns a list of master nodes
// Masters returns a list of master nodes
func (r Servers) Masters() (masters []Server) {
	for _, server := range r {
		if server.IsMaster() {
			masters = append(masters, server)
		}
	}
	return
}
func ( r Servers ) Masters ( ) ( masters [ ] Server ) { for _ , server := range r { if server . IsMaster ( ) { masters = append ( masters , server ) } } return }
Masters returns a list of master nodes
Masters returns a list of master nodes