阶段性提交

This commit is contained in:
GoEdgeLab
2020-07-24 09:17:48 +08:00
parent 9a751902f4
commit a7879b08d6
53 changed files with 2962 additions and 1696 deletions

View File

@@ -0,0 +1,17 @@
package services
import (
"context"
"github.com/TeaOSLab/EdgeAPI/internal/rpc/pb"
"github.com/iwind/TeaGo/logs"
)
type NodeService struct {
}
func (this *NodeService) Config(ctx context.Context, req *pb.ConfigRequest) (*pb.ConfigResponse, error) {
logs.Println("you called me")
return &pb.ConfigResponse{
Id: req.NodeId,
}, nil
}