mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 12:20:27 +08:00
改进若干API注释
This commit is contained in:
@@ -1934,7 +1934,7 @@ func (x *FindHTTPWebRequestScriptsResponse) GetRequestScriptsJSON() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 修改服务UAM设置
|
||||
// 修改网站UAM设置
|
||||
type UpdateHTTPWebUAMRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -1990,7 +1990,7 @@ func (x *UpdateHTTPWebUAMRequest) GetUamJSON() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 查找服务UAM设置
|
||||
// 查找网站UAM设置
|
||||
type FindHTTPWebUAMRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -2085,7 +2085,7 @@ func (x *FindHTTPWebUAMResponse) GetUamJSON() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 修改服务CC设置
|
||||
// 修改网站CC设置
|
||||
type UpdateHTTPWebCCRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
@@ -2141,7 +2141,7 @@ func (x *UpdateHTTPWebCCRequest) GetCcJSON() []byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
// 查找服务UAM设置
|
||||
// 查找网站CC设置
|
||||
type FindHTTPWebCCRequest struct {
|
||||
state protoimpl.MessageState
|
||||
sizeCache protoimpl.SizeCache
|
||||
|
||||
@@ -129,7 +129,7 @@ type HTTPWebServiceClient interface {
|
||||
FindHTTPWebUAM(ctx context.Context, in *FindHTTPWebUAMRequest, opts ...grpc.CallOption) (*FindHTTPWebUAMResponse, error)
|
||||
// 修改CC设置
|
||||
UpdateHTTPWebCC(ctx context.Context, in *UpdateHTTPWebCCRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||||
// 查找UAM设置
|
||||
// 查找CC设置
|
||||
FindHTTPWebCC(ctx context.Context, in *FindHTTPWebCCRequest, opts ...grpc.CallOption) (*FindHTTPWebCCResponse, error)
|
||||
// 修改防盗链设置
|
||||
UpdateHTTPWebReferers(ctx context.Context, in *UpdateHTTPWebReferersRequest, opts ...grpc.CallOption) (*RPCSuccess, error)
|
||||
@@ -561,7 +561,7 @@ type HTTPWebServiceServer interface {
|
||||
FindHTTPWebUAM(context.Context, *FindHTTPWebUAMRequest) (*FindHTTPWebUAMResponse, error)
|
||||
// 修改CC设置
|
||||
UpdateHTTPWebCC(context.Context, *UpdateHTTPWebCCRequest) (*RPCSuccess, error)
|
||||
// 查找UAM设置
|
||||
// 查找CC设置
|
||||
FindHTTPWebCC(context.Context, *FindHTTPWebCCRequest) (*FindHTTPWebCCResponse, error)
|
||||
// 修改防盗链设置
|
||||
UpdateHTTPWebReferers(context.Context, *UpdateHTTPWebReferersRequest) (*RPCSuccess, error)
|
||||
|
||||
@@ -107,7 +107,7 @@ service HTTPWebService {
|
||||
// 修改CC设置
|
||||
rpc updateHTTPWebCC(UpdateHTTPWebCCRequest) returns (RPCSuccess);
|
||||
|
||||
// 查找UAM设置
|
||||
// 查找CC设置
|
||||
rpc findHTTPWebCC(FindHTTPWebCCRequest) returns (FindHTTPWebCCResponse);
|
||||
|
||||
// 修改防盗链设置
|
||||
@@ -321,13 +321,13 @@ message FindHTTPWebRequestScriptsResponse {
|
||||
bytes requestScriptsJSON = 1;
|
||||
}
|
||||
|
||||
// 修改服务UAM设置
|
||||
// 修改网站UAM设置
|
||||
message UpdateHTTPWebUAMRequest {
|
||||
int64 httpWebId = 1;
|
||||
bytes uamJSON = 2;
|
||||
}
|
||||
|
||||
// 查找服务UAM设置
|
||||
// 查找网站UAM设置
|
||||
message FindHTTPWebUAMRequest {
|
||||
int64 httpWebId = 1;
|
||||
}
|
||||
@@ -336,13 +336,13 @@ message FindHTTPWebUAMResponse {
|
||||
bytes uamJSON = 1;
|
||||
}
|
||||
|
||||
// 修改服务CC设置
|
||||
// 修改网站CC设置
|
||||
message UpdateHTTPWebCCRequest {
|
||||
int64 httpWebId = 1;
|
||||
bytes ccJSON = 2;
|
||||
}
|
||||
|
||||
// 查找服务UAM设置
|
||||
// 查找网站CC设置
|
||||
message FindHTTPWebCCRequest {
|
||||
int64 httpWebId = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user