app

package
v0.0.0-...-7635af9 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetSession

func SetSession(c echo.Context, model SessionModel) (sess *sessions.Session)

Types

type Container

type Container struct {
	Config  *config.Config
	Service Service
}

func GetContainer

func GetContainer() *Container

type Repository

type Repository struct {
	Address contact.Repository
}

type Service

type Service struct {
	Address handler.ContactService
}

type SessionModel

type SessionModel struct {
	Username string
	FullName string
	Role     string
}

func GetSession

func GetSession(c echo.Context) (sess *sessions.Session, model SessionModel)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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