auth

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 0 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Authorize

type Authorize interface {
	Interface

	RemoveToken(t *Token) error

	GetToken(c Info) (*Token, error)
}

type Info added in v1.0.1

type Info interface {
}

type Interface

type Interface interface {
	Auth(c Info, t *Token) (*Result, error)
}

type Result

type Result struct {
	Success  bool
	Msg      string
	Response interface{}
}

type Server

type Server interface {
	Authorize

	Run() error
}

type Token

type Token struct {
	Token string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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