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

Auth

type AuthConfig struct {
   *gormadapter.Adapter
   Type     string `yaml:"type" env:"AUTH_TYPE" env-default:"simple"`
   Casbin   *Casbin
   Enforcer *casbin.Enforcer
}
PreviousConfiguration FileNextDatabase

Last updated 4 years ago

Was this helpful?