data

package
v0.0.0-...-596c4a4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSetData = wire.NewSet(New)

ProviderSetData is a set of data providers.

Functions

This section is empty.

Types

type Data

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

func New

func New(c *conf.Bootstrap, logger log.Logger) (*Data, func(), error)

func (*Data) GetCache

func (d *Data) GetCache() cache.Cache

func (*Data) GetEmail

func (d *Data) GetEmail(name string) (email.Email, bool)

func (*Data) GetHook

func (d *Data) GetHook(name string) (hook.Sender, bool)

func (*Data) GetSms

func (d *Data) GetSms(name string) (sms.Sender, bool)

func (*Data) SetEmail

func (d *Data) SetEmail(name string, email email.Email)

func (*Data) SetHook

func (d *Data) SetHook(name string, hook hook.Sender)

func (*Data) SetSms

func (d *Data) SetSms(name string, sms sms.Sender)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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