package app import ( proto "pinned_message/proto" "context" ) type Server struct { proto.UnimplementedpinnedMessageServer } func NewServer() *Server { return &Server{} } func (s *Server) Ping(_ context.Context, _ *proto.PingReq) (*proto.PingRsp, error) { return &proto.PingRsp{}, nil }