config

package
v0.0.0-...-a2883fb Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitDatabaseMongodb

func InitDatabaseMongodb() *mongo.Database

Types

type FirebaseGoogle

type FirebaseGoogle struct {
	Path string
}

type GrpcClient

type GrpcClient struct {
	User string
}

type Mailgun

type Mailgun struct {
	MailFromDomain string
	MailFromName   string
	MailgunDomain  string
	MailgunSecret  string
}

type NotificationConfig

type NotificationConfig struct {
	HttpPort              string
	RpcPort               string
	Timeout               time.Duration
	GrpcClient            GrpcClient
	FirebaseGoogleService *FirebaseGoogle
	Mailgun               *Mailgun
}

func Notification

func Notification() *NotificationConfig

Jump to

Keyboard shortcuts

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