ghinstance

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Default

func Default() string

Default returns the host name of the default GitHub instance.

func GistHost

func GistHost(hostname string) string

func GistPrefix

func GistPrefix(hostname string) string

func GraphQLEndpoint

func GraphQLEndpoint(hostname string) string

func HostPrefix

func HostPrefix(hostname string) string

func HostnameValidator

func HostnameValidator(hostname string) error

func RESTPrefix

func RESTPrefix(hostname string) string

func TenantName

func TenantName(h string) (string, bool)

TenantName extracts the tenant name from tenancy host name and reports whether it found the tenant name.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL