extsvc: Reuse CodeHost struct
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: tsenart
This commit factors out the identical CodeHost
structs that existed in both extsvc/github
and extsvc/gitlab
into extsvc
and updates code to use it.
This allows us to also reuse it in the up-coming Bitbucket Server ACLs code.
Part of #1108
Push commits to the source branch or add previously merged commits to review them.