app

package
v0.0.0-...-5142fe7 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start()

Types

type AuthHandler

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

func NewAuthHandler

func NewAuthHandler(service service.AuthService) AuthHandler

func (AuthHandler) Login

func (h AuthHandler) Login(rw http.ResponseWriter, r *http.Request)

func (AuthHandler) Verify

func (h AuthHandler) Verify(rw http.ResponseWriter, r *http.Request)

Sample: /auth/verify?token=aa.b.c&routeName=GetCustomer&customer_id=2000&account=2000

Jump to

Keyboard shortcuts

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