options

package
v3.9.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterFactory

func RegisterFactory(name string, factory Factory)

Types

type AuthInterface

type AuthInterface auth.Interface

type CLIInterface

type CLIInterface cli.Interface

type Factories

type Factories map[string]Factory

func GetFactories

func GetFactories() Factories

type Factory

type Factory func() Interface

func GetFactory

func GetFactory(name string) Factory

type HTTPInterface

type HTTPInterface http.Interface

type Interface

type Interface interface {
	GetName() string
	SetName(string)
}

type LoggerInterface

type LoggerInterface logger.Interface

type Options

type Options struct {
	// contains filtered or unexported fields
}

func (*Options) GetName

func (o *Options) GetName() string

func (*Options) SetName

func (o *Options) SetName(name string)

type URLInterface

type URLInterface url.Interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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