1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-04-23 11:07:43 +02:00
Johnson C c0e0b2b225
[FEATURE] dashboard support publish messages (#2373)
* [feature] dashboard

* [feat] support publish message
2021-12-02 13:15:38 +08:00

15 lines
387 B
Go

package client
type callRequest struct {
Service string `json:"service" binding:"required"`
Version string `json:"version"`
Endpoint string `json:"endpoint" binding:"required"`
Request string `json:"request"`
Timeout int64 `json:"timeout"`
}
type publishRequest struct {
Topic string `json:"topic" binding:"required"`
Message string `json:"message" binding:"required"`
}