service

package
v0.0.0-...-b2063a2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WireSet = wire.NewSet(ProvideService)
)

Functions

This section is empty.

Types

type Service

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

func ProvideService

func ProvideService(repository repository.UserRepository) (*Service, error)

func (*Service) GetCurrentUser

func (s *Service) GetCurrentUser(ctx *gin.Context)

func (*Service) Login

func (s *Service) Login(ctx *gin.Context)

func (*Service) Register

func (s *Service) Register(ctx *gin.Context)

func (*Service) VerifySession

func (s *Service) VerifySession() gin.HandlerFunc

Jump to

Keyboard shortcuts

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