|
package smsprovider
|
|
|
|
type Config struct {
|
|
Host string `koanf:"host"`
|
|
Port int `koanf:"port"`
|
|
}
|
|
|
|
type Adapter struct{}
|
|
|
|
//nolint
|
|
func New(config Config) Adapter {
|
|
// rdb := redis.NewClient(&redis.Options{
|
|
// Addr: fmt.Sprintf("%s:%d", config.Host, config.Port),
|
|
//})
|
|
|
|
return Adapter{}
|
|
}
|