adapters

package
v0.0.0-...-190fc14 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthServiceServer

type AuthServiceServer struct {
	protos.UnimplementedAuthServiceServer
	// contains filtered or unexported fields
}

func NewAuthServer

func NewAuthServer(authService *authentication.AuthenticationService, l *log.Logger) *AuthServiceServer

func (*AuthServiceServer) Login

func (*AuthServiceServer) SignUp

type AuthenticationHandler

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

func (*AuthenticationHandler) MiddlewareValidateRefreshToken

func (ah *AuthenticationHandler) MiddlewareValidateRefreshToken(next http.Handler) http.Handler

func (*AuthenticationHandler) MiddlewareValidateUser

func (ah *AuthenticationHandler) MiddlewareValidateUser(next http.Handler) http.Handler

func (*AuthenticationHandler) UserLogin

func (ah *AuthenticationHandler) UserLogin(rw http.ResponseWriter, r *http.Request)

func (*AuthenticationHandler) UserSignUp

func (ah *AuthenticationHandler) UserSignUp(rw http.ResponseWriter, r *http.Request)

type Resolver

type Resolver struct {
	AuthService *authentication.AuthenticationService
	Logger      *log.Logger
}

func (*Resolver) Mutation

func (r *Resolver) Mutation() generated.MutationResolver

Mutation returns generated.MutationResolver implementation.

Directories

Path Synopsis
graph

Jump to

Keyboard shortcuts

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