aliyun.go 456 B

1234567891011121314151617181920212223242526272829303132
  1. package providers
  2. import "git.wenlab.co/joe/beaconfire"
  3. // aliyun SMS support
  4. const (
  5. BEACON_NAME_ALIYUN = "aliyun"
  6. )
  7. type OptionsAliyun struct {
  8. }
  9. type aliyun struct {
  10. opt *OptionsAliyun
  11. }
  12. var _ beaconfire.BeaconFire = &aliyun{}
  13. func NewAliyun(opt *OptionsAliyun) *aliyun {
  14. return &aliyun{
  15. opt: opt,
  16. }
  17. }
  18. func (a *aliyun) Name() string {
  19. return BEACON_NAME_ALIYUN
  20. }
  21. func (a *aliyun) Send(bp *beaconfire.BeaconMessage) error {
  22. return nil
  23. }