port

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configurable

type Configurable interface {
	Initialize(ctx context.Context, openBrowser bool, config map[string]interface{}) error
}

Configurable is an interface which defines how arbitrary configuration data can be passed to a struct which implements this interface. Clients should be configurable.

type LogSetter

type LogSetter interface {
	SetLogger(logger *log.Logger)
}

LogSetter can be implemented by a struct to allows injection of a logger instance

type OAuth2Adapter

type OAuth2Adapter interface {
	SetupOauth2(ctx context.Context, credentials auth.Credentials, storage auth.Storage, bindPort uint) error
}

Jump to

Keyboard shortcuts

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