client/mock: add new tests

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2023-03-30 02:45:20 +03:00
parent 6d0b6f30bb
commit 00e71fc9ec
6 changed files with 183 additions and 45 deletions

View File

@@ -0,0 +1,19 @@
package pb
import (
_ "go.unistack.org/micro-proto/v3/api"
_ "go.unistack.org/micro-proto/v3/openapiv3"
)
type LookupUserReq struct {
Username string `json:"username,omitempty"`
}
type LookupUserRsp struct {
Name string `json:"name,omitempty"`
}
type Error struct {
Message string `json:"message,omitempty"`
DocumentationUrl string `json:"documentation_url,omitempty"`
}