generated from VLADIMIR/template
add addTeams route
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
package app
|
||||
|
||||
import (
|
||||
proto "evening_detective/proto"
|
||||
"context"
|
||||
proto "evening_detective/proto"
|
||||
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/status"
|
||||
)
|
||||
|
||||
type Server struct {
|
||||
@@ -16,3 +19,7 @@ func NewServer() *Server {
|
||||
func (s *Server) Ping(_ context.Context, _ *proto.PingReq) (*proto.PingRsp, error) {
|
||||
return &proto.PingRsp{}, nil
|
||||
}
|
||||
|
||||
func (s *Server) AddTeams(context.Context, *proto.AddTeamsReq) (*proto.AddTeamsRsp, error) {
|
||||
return nil, status.Errorf(codes.Unimplemented, "method AddTeams not implemented")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user