Skip to content

jamielxcarter/dort

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dort

Dynamically get free ports

Example

ports := dort.Get(3)
// ports is something like []int{10000, 10001, 10002}

Or

ports, err := dort.GetWithErr(3)
if err != nil {
  // handle err
}

// use ports...

Or

ports := dort.GetS(3)
// ports is something like []string{"10000", "10001", "10002"}

License

MIT


About

Dynamically get free ports

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages