hwt/hwt.go
2018-01-16 21:02:46 -08:00

13 lines
220 B
Go

package hwt
import (
"context"
fmt "fmt"
)
type Server struct{}
func (s *Server) Hello(ctx context.Context, req *HelloReq) (*HelloResp, error) {
return &HelloResp{Text: fmt.Sprintf("echo: %v", req.Subject)}, nil
}