handlers

package
v0.0.0-...-646f264 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExternalHandler

type ExternalHandler interface {
	Login(context *gin.Context)
}

ExternalHandler interface

func NewExternalHandler

func NewExternalHandler(dbClient database.Client, secretKey string) ExternalHandler

NewExternalHandler provides ExternalHandler interface

type InternalHandler

type InternalHandler interface {
	Authorize(context *gin.Context)
}

InternalHandler interface

func NewInternalHandler

func NewInternalHandler(secretKey string) InternalHandler

NewInternalHandler provides InternalHandler interface

Jump to

Keyboard shortcuts

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