syntax = "proto3";
option go_package = "./pb";

package pb;

// 价格相关服务
service PriceService {
	// 计算费用
	rpc calculatePrice(CalculatePriceRequest) returns (CalculatePriceResponse);
}

// 计算费用
message CalculatePriceRequest {
	string priceType = 1;
	double trafficGB = 2;
	double bandwidthMB = 3;
	int64 nodeRegionId = 4;
}

message CalculatePriceResponse {
	double amount = 1;
	bool hasNodeRegionPrice = 2;
}