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