config

package
v0.0.0-...-b12b82d Latest Latest
Warning

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

Go to latest
Published: May 25, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	DB               *gorm.DB
	CLD              *cloudinary.Cloudinary
	DBMethods        repository.DatabaseRepo
	NotificationChan chan *NotificationEvent
	Mailer           mail.Mail
	FirebaseApp      *firebase.App
}

func LoadConfig

func LoadConfig() (*Application, error)

type NotificationEvent

type NotificationEvent struct {
	BroadcasterID uint
	Action        string
	Data          interface{}
	Conn          *websocket.Conn
}

Jump to

Keyboard shortcuts

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