gogs

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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