auth

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(name string, exec CreateFunc)

Types

type Auth

type Auth interface {
	DoAuth(token string, ext []byte) (string, string, error)
}

type CreateFunc

type CreateFunc func(url string, timeout time.Duration) Auth

func Load

func Load(name string) (CreateFunc, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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