14 lines
264 B
Go
14 lines
264 B
Go
package main
|
|
|
|
import (
|
|
context "context"
|
|
)
|
|
|
|
// server is used to implement
|
|
type server struct{}
|
|
|
|
// SayHello implements
|
|
func (s *server) CreateTable(ctx context.Context, in *TableRequest) (*TableReply, error) {
|
|
return &TableReply{Msg: "Hello " + in.Name}, nil
|
|
}
|