Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GraphQLEndpoint ¶
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 OverridableDefault ¶
func OverridableDefault() string
OverridableDefault is like Default, except it is overridable by the GH_HOST environment variable
func OverrideDefault ¶
func OverrideDefault(newhost string)
OverrideDefault overrides the value returned from OverridableDefault. This should only ever be called from the main runtime path, not tests.
func RESTPrefix ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.