Documentation ¶
Overview ¶
Package github provides OKs and tokens for GitHub authentication.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Context ¶
Context returns a context that is updated with a GitHub authentication token from the given HTTP request, if it exists.
Types ¶
type Config ¶
func (*Config) RegisterHandlers ¶
RegisterHandlers registers GitHub authentication handlers. The given path is the landing URL to begin the sign-in flow, and the return handler is registered at the URL listed in the config.
Click to show internal directories.
Click to hide internal directories.