package
0.0.8-GHES.3.14
Repository: https://github.com/octokit/go-sdk-enterprise-server.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

GetDefaultClientOptions returns a new instance of ClientOptions with default values.
NewApiClient is a convenience constructor to create a new instance of a Client (wrapper of *github.ApiClient) with the provided option functions.
WithAPIVersion configures the client with the given API version.
WithBaseUrl configures the client with the given base URL.
WithGitHubAppAuthentication configures the client with the given GitHub App auth.
WithGitHubAppAuthenticationUsingAppID configures the client with the given GitHub App auth.
WithRequestTimeout configures the client with the given request timeout.
WithTokenAuthentication configures the client with the given Personal Authorization Token.
WithUserAgent configures the client with the given user agent string.

# Structs

Client wraps github.ApiClient so that we may provide neater constructors and ease of use.
ClientOptions contains every setting we could possibly want to set for the token provider, the netHttpClient, the middleware, and the adapter.

# Type aliases

ClientOptionFunc provides a functional pattern for client configuration.