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

18 lines
291 B
Go
Raw Normal View History

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