mirror of
https://github.com/go-micro/go-micro.git
synced 2025-04-23 11:07:43 +02:00
15 lines
387 B
Go
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"`
|
|
}
|