Documentation ¶ Index ¶ type Config func (c *Config) Handler(h http.Handler) http.Handler Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { Label string Login string Server string Client *http.Client } Config configures the Gogs auth provider. func (*Config) Handler ¶ func (c *Config) Handler(h http.Handler) http.Handler Handler returns a http.Handler that runs h at the completion of the GitLab authorization flow. The GitLab authorization details are available to h in the http.Request context. Source Files ¶ View all Source files gogs.go handler.go Click to show internal directories. Click to hide internal directories.