web

package
v0.0.0-...-0ef8f77 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(postUC *usecase.PostUseCase, tagUC *usecase.TagUseCase, imageUC *usecase.ImageUseCase, convertUC *usecase.ConvertUseCase, authMW *AuthMiddleware, postsTagsService *service.PostsTagsService) (e *gin.Engine)

Types

type AuthMiddleware

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

func NewAuthMiddleware

func NewAuthMiddleware(repository repository.AuthRepository) *AuthMiddleware

func (*AuthMiddleware) Auth

func (a *AuthMiddleware) Auth() gin.HandlerFunc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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