orbitalci / orbital

Orbital is a self-hosted CI system for solo/small consulting dev teams. Written in Rust.
GNU General Public License v3.0
29 stars 2 forks source link

Standardize on using URL type instead of separate (string,int) types for addr and port #190

Closed tjtelan closed 5 years ago

tjtelan commented 5 years ago

https://golang.org/pkg/net/url/#URL

There are many places in the code that can be cleaned up by taking in urls as a host:port string. We can parse that into a URL struct that is a much nicer type to work with.