Create a backgroud task to register static list of machines.

This commit is contained in:
Deyuan Deng
2014-11-05 21:02:11 -05:00
parent ea58ab7221
commit 762e9a0f57
3 changed files with 191 additions and 70 deletions

View File

@@ -79,3 +79,8 @@ func (s StringSet) List() []string {
sort.StringSlice(res).Sort()
return res
}
// Len returns the size of the set.
func (s StringSet) Len() int {
return len(s)
}