config

package
v0.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FCMConfig

type FCMConfig struct {
	// contains filtered or unexported fields
}

func NewFCMConfig

func NewFCMConfig(fcmConfigPath string) FCMConfig

func (*FCMConfig) NewFCMClient

func (c *FCMConfig) NewFCMClient(ctx context.Context) (*messaging.Client, error)

type SMTPMailConfig

type SMTPMailConfig struct {
	Host          string
	Port          string
	Username      string
	Password      string
	SenderName    string
	SenderAddress string
}

func NewSMTPConfiguration

func NewSMTPConfiguration() SMTPMailConfig

func (SMTPMailConfig) SMTPAuth

func (c SMTPMailConfig) SMTPAuth() smtp.Auth

Jump to

Keyboard shortcuts

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