initial import
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package operator
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user