working commit

This commit is contained in:
2026-05-29 19:07:59 +02:00
parent 4e2c548e97
commit c1f85e87c9
23 changed files with 543 additions and 342 deletions
+4 -4
View File
@@ -3,16 +3,16 @@
*/
package servoper
type SendHelloParams struct{}
type GetHelloParams struct{}
type SendHelloResult struct {
type GetHelloResult struct {
Message string `json:"message"`
Alive bool `json:"alive"`
}
func (oper *Operator) SendHello(param *SendHelloParams) (*SendHelloResult, error) {
func (oper *Operator) GetHello(param *GetHelloParams) (*GetHelloResult, error) {
var err error
res := &SendHelloResult{
res := &GetHelloResult{
Alive: true,
Message: "hello",
}