24 lines
592 B
Go
24 lines
592 B
Go
/*
|
|
* Copyright 2026 Oleg Borodin <onborodin@gmail.com>
|
|
*
|
|
* This work is published and licensed under a Creative Commons
|
|
* Attribution-NonCommercial-NoDerivatives 4.0 International License.
|
|
*
|
|
* Distribution of this work is permitted, but commercial use and
|
|
* modifications are strictly prohibited.
|
|
*/
|
|
package imageoper
|
|
|
|
type SendHelloParams struct{}
|
|
|
|
type SendHelloResult struct {
|
|
Message string `json:"message"`
|
|
}
|
|
|
|
func (oper *Operator) SendHello(param *SendHelloParams) (*SendHelloResult, error) {
|
|
var err error
|
|
res := &SendHelloResult{}
|
|
res.Message = "hello"
|
|
return res, err
|
|
}
|