Documentation ¶
Index ¶
- func Default() string
- func GistHost(hostname string) string
- func GistPrefix(hostname string) string
- func GraphQLEndpoint(hostname string) string
- func HostPrefix(hostname string) string
- func HostnameValidator(hostname string) error
- func IsEnterprise(h string) bool
- func NormalizeHostname(h string) string
- func RESTPrefix(hostname string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GistPrefix ¶
func GraphQLEndpoint ¶
func HostPrefix ¶
func HostnameValidator ¶
func IsEnterprise ¶
IsEnterprise reports whether a non-normalized host name looks like a GHE instance
func NormalizeHostname ¶
NormalizeHostname returns the canonical host name of a GitHub instance
func RESTPrefix ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.