Files
EdgeAPI/internal/rpc/node/service.go
2020-07-22 22:17:53 +08:00

17 lines
273 B
Go

package node
import (
"context"
"github.com/iwind/TeaGo/logs"
)
type Service struct {
}
func (this *Service) Config(ctx context.Context, req *ConfigRequest) (*ConfigResponse, error) {
logs.Println("you called me")
return &ConfigResponse{
Id: req.NodeId,
}, nil
}