forked from ebhomengo/niki
1
0
Fork 0
niki/adapter/sms_provider/adapter.go

18 lines
299 B
Go

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{}
}