Files
notify/service/cucloud/README.md
DacongDA 4dac97d87f feat: support CUCloud (#9)
* feat: support cu cloud smn service

* feat: fix build err

* feat: promote code format

(cherry picked from commit 76a83e8a961239e6f33a4a664ea96c5c87db7616)
2025-12-26 20:05:10 +08:00

539 B

CuCloud

CUCloud is the cloud service brand of China Unicom

Usage

  1. Create a pair of accessKey and accessKeySecret in https://console.cucloud.cn/console/uiam/user/${your_id}/info
  2. Create a topic
// define accessKey and  accessKeySecret
accessKey := ""
secretKey := ""

// create client
cuCloudClient := New(accessKey, secretKey, "topic_name", "message title", "cloud region code", "account id", "notify type")

// send message
err := cuCloudClient.Send(context.Background(), "", "content")