Fiber Boilerplate
  • Introduction
  • Installation
  • Features
  • Project Structure
  • Project Flow
  • Deployment
  • Configuration File
    • Auth
    • Database
    • Log
    • Mail
    • PayPal
    • Profiler
    • Server
    • Session
    • Storage
    • Token
  • Additional Libraries
  • Project Dependencies
Powered by GitBook
On this page

Was this helpful?

  1. Configuration File

Session

This page provides details of Session storage on Web

Session config

config/session.go

type SessionConfig struct {
   *session.Session
   Driver string `yaml:"driver" env:"SESSION_DRIVER"`
   Name   string `yaml:"name" env:"SESSION_NAME"`
   Host   string `yaml:"host" env:"SESSION_HOST"`
   Port   int    `yaml:"port" env:"SESSION_PORT"`
   DB     int    `yaml:"db" env:"SESSION_DB"`
}

PreviousServerNextStorage

Last updated 4 years ago

Was this helpful?