mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-18 13:45:09 +00:00
Commit from GitHub Actions (Generate Clients & Examples)
This commit is contained in:
@@ -35,7 +35,6 @@ import (
|
||||
"github.com/micro/services/clients/go/sentiment"
|
||||
"github.com/micro/services/clients/go/sms"
|
||||
"github.com/micro/services/clients/go/stock"
|
||||
"github.com/micro/services/clients/go/stream"
|
||||
"github.com/micro/services/clients/go/sunnah"
|
||||
"github.com/micro/services/clients/go/thumbnail"
|
||||
"github.com/micro/services/clients/go/time"
|
||||
@@ -85,7 +84,6 @@ func NewClient(token string) *Client {
|
||||
SentimentService: sentiment.NewSentimentService(token),
|
||||
SmsService: sms.NewSmsService(token),
|
||||
StockService: stock.NewStockService(token),
|
||||
StreamService: stream.NewStreamService(token),
|
||||
SunnahService: sunnah.NewSunnahService(token),
|
||||
ThumbnailService: thumbnail.NewThumbnailService(token),
|
||||
TimeService: time.NewTimeService(token),
|
||||
@@ -135,7 +133,6 @@ type Client struct {
|
||||
SentimentService *sentiment.SentimentService
|
||||
SmsService *sms.SmsService
|
||||
StockService *stock.StockService
|
||||
StreamService *stream.StreamService
|
||||
SunnahService *sunnah.SunnahService
|
||||
ThumbnailService *thumbnail.ThumbnailService
|
||||
TimeService *time.TimeService
|
||||
|
||||
@@ -16,7 +16,7 @@ type MqService struct {
|
||||
client *client.Client
|
||||
}
|
||||
|
||||
// Publish a message to the mq. Specify a topic to group messages for a specific topic.
|
||||
// Publish a message. Specify a topic to group messages for a specific topic.
|
||||
func (t *MqService) Publish(request *PublishRequest) (*PublishResponse, error) {
|
||||
rsp := &PublishResponse{}
|
||||
return rsp, t.client.Call("mq", "Publish", request, rsp)
|
||||
|
||||
Reference in New Issue
Block a user