data

package
v0.0.0-...-9bd63dd Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MIT Imports: 7 Imported by: 0

README

Data

Documentation

Index

Constants

This section is empty.

Variables

ProviderSet is data providers.

Functions

func NewRedisClient

func NewRedisClient(conf *conf.Data, logger log.Logger) *redis.Client

func NewSmsClient

func NewSmsClient(c *conf.Sms) *sms.Client

func NewSmsRepo

func NewSmsRepo(data *Data, logger log.Logger) biz.SmsRepo

NewGreeterRepo .

Types

type Data

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

Data .

func NewData

func NewData(logger log.Logger, smsClient *sms.Client, redisClient *redis.Client) (*Data, func(), error)

NewData .

Jump to

Keyboard shortcuts

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