rpc

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2021 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RPCClient

type RPCClient struct {
	// contains filtered or unexported fields
}

RPCClient RPC客户端

func NewRPCClient

func NewRPCClient(apiConfig *configs.APIConfig) (*RPCClient, error)

NewRPCClient 构造新的RPC客户端

func SharedRPC

func SharedRPC() (*RPCClient, error)

func (*RPCClient) ACMEProviderAccountRPC added in v0.3.2

func (this *RPCClient) ACMEProviderAccountRPC() pb.ACMEProviderAccountServiceClient

func (*RPCClient) ACMEProviderRPC added in v0.3.2

func (this *RPCClient) ACMEProviderRPC() pb.ACMEProviderServiceClient

func (*RPCClient) ACMETaskRPC

func (this *RPCClient) ACMETaskRPC() pb.ACMETaskServiceClient

func (*RPCClient) ACMEUserRPC

func (this *RPCClient) ACMEUserRPC() pb.ACMEUserServiceClient

func (*RPCClient) APIContext

func (this *RPCClient) APIContext(apiNodeId int64) context.Context

APIContext 构造API上下文

func (*RPCClient) APINodeRPC

func (this *RPCClient) APINodeRPC() pb.APINodeServiceClient

func (*RPCClient) APITokenRPC added in v0.2.8

func (this *RPCClient) APITokenRPC() pb.APITokenServiceClient

func (*RPCClient) AdminRPC

func (this *RPCClient) AdminRPC() pb.AdminServiceClient

func (*RPCClient) AuthorityKeyRPC added in v0.0.13

func (this *RPCClient) AuthorityKeyRPC() pb.AuthorityKeyServiceClient

func (*RPCClient) AuthorityNodeRPC added in v0.0.13

func (this *RPCClient) AuthorityNodeRPC() pb.AuthorityNodeServiceClient

func (*RPCClient) Context

func (this *RPCClient) Context(adminId int64) context.Context

Context 构造Admin上下文

func (*RPCClient) DBNodeRPC

func (this *RPCClient) DBNodeRPC() pb.DBNodeServiceClient

func (*RPCClient) DBRPC added in v0.0.9

func (this *RPCClient) DBRPC() pb.DBServiceClient

func (*RPCClient) DNSDomainRPC

func (this *RPCClient) DNSDomainRPC() pb.DNSDomainServiceClient

func (*RPCClient) DNSProviderRPC

func (this *RPCClient) DNSProviderRPC() pb.DNSProviderServiceClient

func (*RPCClient) DNSRPC

func (this *RPCClient) DNSRPC() pb.DNSServiceClient

func (*RPCClient) DNSTaskRPC added in v0.0.10

func (this *RPCClient) DNSTaskRPC() pb.DNSTaskServiceClient

func (*RPCClient) FileChunkRPC

func (this *RPCClient) FileChunkRPC() pb.FileChunkServiceClient

func (*RPCClient) FileRPC

func (this *RPCClient) FileRPC() pb.FileServiceClient

func (*RPCClient) FirewallRPC added in v0.2.8

func (this *RPCClient) FirewallRPC() pb.FirewallServiceClient

func (*RPCClient) HTTPAccessLogPolicyRPC

func (this *RPCClient) HTTPAccessLogPolicyRPC() pb.HTTPAccessLogPolicyServiceClient

func (*RPCClient) HTTPAccessLogRPC

func (this *RPCClient) HTTPAccessLogRPC() pb.HTTPAccessLogServiceClient

HTTPAccessLogRPC 访问日志

func (*RPCClient) HTTPAuthPolicyRPC added in v0.2.3

func (this *RPCClient) HTTPAuthPolicyRPC() pb.HTTPAuthPolicyServiceClient

func (*RPCClient) HTTPCachePolicyRPC

func (this *RPCClient) HTTPCachePolicyRPC() pb.HTTPCachePolicyServiceClient

func (*RPCClient) HTTPFastcgiRPC added in v0.1.0

func (this *RPCClient) HTTPFastcgiRPC() pb.HTTPFastcgiServiceClient

func (*RPCClient) HTTPFirewallPolicyRPC

func (this *RPCClient) HTTPFirewallPolicyRPC() pb.HTTPFirewallPolicyServiceClient

func (*RPCClient) HTTPFirewallRuleGroupRPC

func (this *RPCClient) HTTPFirewallRuleGroupRPC() pb.HTTPFirewallRuleGroupServiceClient

func (*RPCClient) HTTPFirewallRuleSetRPC

func (this *RPCClient) HTTPFirewallRuleSetRPC() pb.HTTPFirewallRuleSetServiceClient

func (*RPCClient) HTTPGzipRPC

func (this *RPCClient) HTTPGzipRPC() pb.HTTPGzipServiceClient

func (*RPCClient) HTTPHeaderPolicyRPC

func (this *RPCClient) HTTPHeaderPolicyRPC() pb.HTTPHeaderPolicyServiceClient

func (*RPCClient) HTTPHeaderRPC

func (this *RPCClient) HTTPHeaderRPC() pb.HTTPHeaderServiceClient

func (*RPCClient) HTTPLocationRPC

func (this *RPCClient) HTTPLocationRPC() pb.HTTPLocationServiceClient

func (*RPCClient) HTTPPageRPC

func (this *RPCClient) HTTPPageRPC() pb.HTTPPageServiceClient

func (*RPCClient) HTTPRewriteRuleRPC

func (this *RPCClient) HTTPRewriteRuleRPC() pb.HTTPRewriteRuleServiceClient

func (*RPCClient) HTTPWebRPC

func (this *RPCClient) HTTPWebRPC() pb.HTTPWebServiceClient

func (*RPCClient) HTTPWebsocketRPC

func (this *RPCClient) HTTPWebsocketRPC() pb.HTTPWebsocketServiceClient

func (*RPCClient) IPItemRPC

func (this *RPCClient) IPItemRPC() pb.IPItemServiceClient

func (*RPCClient) IPLibraryRPC

func (this *RPCClient) IPLibraryRPC() pb.IPLibraryServiceClient

func (*RPCClient) IPListRPC

func (this *RPCClient) IPListRPC() pb.IPListServiceClient

func (*RPCClient) LatestItemRPC added in v0.1.0

func (this *RPCClient) LatestItemRPC() pb.LatestItemServiceClient

func (*RPCClient) LogRPC

func (this *RPCClient) LogRPC() pb.LogServiceClient

func (*RPCClient) LoginRPC

func (this *RPCClient) LoginRPC() pb.LoginServiceClient

func (*RPCClient) MessageMediaInstanceRPC added in v0.0.13

func (this *RPCClient) MessageMediaInstanceRPC() pb.MessageMediaInstanceServiceClient

func (*RPCClient) MessageMediaRPC added in v0.0.13

func (this *RPCClient) MessageMediaRPC() pb.MessageMediaServiceClient

func (*RPCClient) MessageRPC

func (this *RPCClient) MessageRPC() pb.MessageServiceClient

func (*RPCClient) MessageReceiverRPC added in v0.0.13

func (this *RPCClient) MessageReceiverRPC() pb.MessageReceiverServiceClient

func (*RPCClient) MessageRecipientGroupRPC added in v0.0.13

func (this *RPCClient) MessageRecipientGroupRPC() pb.MessageRecipientGroupServiceClient

func (*RPCClient) MessageRecipientRPC added in v0.0.13

func (this *RPCClient) MessageRecipientRPC() pb.MessageRecipientServiceClient

func (*RPCClient) MessageTaskLogRPC added in v0.0.13

func (this *RPCClient) MessageTaskLogRPC() pb.MessageTaskLogServiceClient

func (*RPCClient) MessageTaskRPC added in v0.0.13

func (this *RPCClient) MessageTaskRPC() pb.MessageTaskServiceClient

func (*RPCClient) MetricChartRPC added in v0.2.8

func (this *RPCClient) MetricChartRPC() pb.MetricChartServiceClient

func (*RPCClient) MetricItemRPC added in v0.2.4

func (this *RPCClient) MetricItemRPC() pb.MetricItemServiceClient

func (*RPCClient) MetricStatRPC added in v0.2.8

func (this *RPCClient) MetricStatRPC() pb.MetricStatServiceClient

func (*RPCClient) MonitorNodeRPC added in v0.0.13

func (this *RPCClient) MonitorNodeRPC() pb.MonitorNodeServiceClient

func (*RPCClient) NSAccessLogRPC added in v0.2.0

func (this *RPCClient) NSAccessLogRPC() pb.NSAccessLogServiceClient

func (*RPCClient) NSClusterRPC added in v0.2.0

func (this *RPCClient) NSClusterRPC() pb.NSClusterServiceClient

func (*RPCClient) NSDomainRPC added in v0.2.0

func (this *RPCClient) NSDomainRPC() pb.NSDomainServiceClient

func (*RPCClient) NSKeyRPC added in v0.2.8

func (this *RPCClient) NSKeyRPC() pb.NSKeyServiceClient

func (*RPCClient) NSNodeRPC added in v0.2.0

func (this *RPCClient) NSNodeRPC() pb.NSNodeServiceClient

func (*RPCClient) NSQuestionOptionRPC added in v0.2.9

func (this *RPCClient) NSQuestionOptionRPC() pb.NSQuestionOptionServiceClient

func (*RPCClient) NSRPC added in v0.2.8

func (this *RPCClient) NSRPC() pb.NSServiceClient

func (*RPCClient) NSRecordRPC added in v0.2.0

func (this *RPCClient) NSRecordRPC() pb.NSRecordServiceClient

func (*RPCClient) NSRouteRPC added in v0.2.0

func (this *RPCClient) NSRouteRPC() pb.NSRouteServiceClient

func (*RPCClient) NodeClusterFirewallActionRPC added in v0.0.10

func (this *RPCClient) NodeClusterFirewallActionRPC() pb.NodeClusterFirewallActionServiceClient

func (*RPCClient) NodeClusterMetricItemRPC added in v0.2.4

func (this *RPCClient) NodeClusterMetricItemRPC() pb.NodeClusterMetricItemServiceClient

func (*RPCClient) NodeClusterRPC

func (this *RPCClient) NodeClusterRPC() pb.NodeClusterServiceClient

func (*RPCClient) NodeGrantRPC

func (this *RPCClient) NodeGrantRPC() pb.NodeGrantServiceClient

func (*RPCClient) NodeGroupRPC

func (this *RPCClient) NodeGroupRPC() pb.NodeGroupServiceClient

func (*RPCClient) NodeIPAddressLogRPC added in v0.3.0

func (this *RPCClient) NodeIPAddressLogRPC() pb.NodeIPAddressLogServiceClient

func (*RPCClient) NodeIPAddressRPC

func (this *RPCClient) NodeIPAddressRPC() pb.NodeIPAddressServiceClient

func (*RPCClient) NodeIPAddressThresholdRPC added in v0.3.1

func (this *RPCClient) NodeIPAddressThresholdRPC() pb.NodeIPAddressThresholdServiceClient

func (*RPCClient) NodeLogRPC

func (this *RPCClient) NodeLogRPC() pb.NodeLogServiceClient

func (*RPCClient) NodeLoginRPC added in v0.2.9

func (this *RPCClient) NodeLoginRPC() pb.NodeLoginServiceClient

func (*RPCClient) NodePriceItemRPC

func (this *RPCClient) NodePriceItemRPC() pb.NodePriceItemServiceClient

func (*RPCClient) NodeRPC

func (this *RPCClient) NodeRPC() pb.NodeServiceClient

func (*RPCClient) NodeRegionRPC

func (this *RPCClient) NodeRegionRPC() pb.NodeRegionServiceClient

func (*RPCClient) NodeTaskRPC

func (this *RPCClient) NodeTaskRPC() pb.NodeTaskServiceClient

func (*RPCClient) NodeThresholdRPC added in v0.1.0

func (this *RPCClient) NodeThresholdRPC() pb.NodeThresholdServiceClient

func (*RPCClient) NodeValueRPC added in v0.1.0

func (this *RPCClient) NodeValueRPC() pb.NodeValueServiceClient

func (*RPCClient) OriginRPC

func (this *RPCClient) OriginRPC() pb.OriginServiceClient

func (*RPCClient) RegionCountryRPC

func (this *RPCClient) RegionCountryRPC() pb.RegionCountryServiceClient

func (*RPCClient) RegionProvinceRPC

func (this *RPCClient) RegionProvinceRPC() pb.RegionProvinceServiceClient

func (*RPCClient) ReportNodeGroupRPC added in v0.3.1

func (this *RPCClient) ReportNodeGroupRPC() pb.ReportNodeGroupServiceClient

func (*RPCClient) ReportNodeRPC added in v0.3.0

func (this *RPCClient) ReportNodeRPC() pb.ReportNodeServiceClient

func (*RPCClient) ReportResultRPC added in v0.3.0

func (this *RPCClient) ReportResultRPC() pb.ReportResultServiceClient

func (*RPCClient) ReverseProxyRPC

func (this *RPCClient) ReverseProxyRPC() pb.ReverseProxyServiceClient

func (*RPCClient) SSLCertRPC

func (this *RPCClient) SSLCertRPC() pb.SSLCertServiceClient

func (*RPCClient) SSLPolicyRPC

func (this *RPCClient) SSLPolicyRPC() pb.SSLPolicyServiceClient

func (*RPCClient) ServerClientBrowserMonthlyStatRPC added in v0.0.10

func (this *RPCClient) ServerClientBrowserMonthlyStatRPC() pb.ServerClientBrowserMonthlyStatServiceClient

func (*RPCClient) ServerClientSystemMonthlyStatRPC added in v0.0.10

func (this *RPCClient) ServerClientSystemMonthlyStatRPC() pb.ServerClientSystemMonthlyStatServiceClient

func (*RPCClient) ServerDailyStatRPC added in v0.2.0

func (this *RPCClient) ServerDailyStatRPC() pb.ServerDailyStatServiceClient

func (*RPCClient) ServerGroupRPC

func (this *RPCClient) ServerGroupRPC() pb.ServerGroupServiceClient

func (*RPCClient) ServerHTTPFirewallDailyStatRPC added in v0.0.10

func (this *RPCClient) ServerHTTPFirewallDailyStatRPC() pb.ServerHTTPFirewallDailyStatServiceClient

func (*RPCClient) ServerRPC

func (this *RPCClient) ServerRPC() pb.ServerServiceClient

func (*RPCClient) ServerRegionCityMonthlyStatRPC added in v0.0.10

func (this *RPCClient) ServerRegionCityMonthlyStatRPC() pb.ServerRegionCityMonthlyStatServiceClient

func (*RPCClient) ServerRegionCountryMonthlyStatRPC added in v0.0.10

func (this *RPCClient) ServerRegionCountryMonthlyStatRPC() pb.ServerRegionCountryMonthlyStatServiceClient

func (*RPCClient) ServerRegionProviderMonthlyStatRPC added in v0.0.10

func (this *RPCClient) ServerRegionProviderMonthlyStatRPC() pb.ServerRegionProviderMonthlyStatServiceClient

func (*RPCClient) ServerRegionProvinceMonthlyStatRPC added in v0.0.10

func (this *RPCClient) ServerRegionProvinceMonthlyStatRPC() pb.ServerRegionProvinceMonthlyStatServiceClient

func (*RPCClient) ServerStatBoardChartRPC added in v0.2.8

func (this *RPCClient) ServerStatBoardChartRPC() pb.ServerStatBoardChartServiceClient

func (*RPCClient) ServerStatBoardRPC added in v0.2.8

func (this *RPCClient) ServerStatBoardRPC() pb.ServerStatBoardServiceClient

func (*RPCClient) SysSettingRPC

func (this *RPCClient) SysSettingRPC() pb.SysSettingServiceClient

func (*RPCClient) UpdateConfig added in v0.0.12

func (this *RPCClient) UpdateConfig(config *configs.APIConfig) error

UpdateConfig 修改配置

func (*RPCClient) UserAccessKeyRPC added in v0.2.1

func (this *RPCClient) UserAccessKeyRPC() pb.UserAccessKeyServiceClient

func (*RPCClient) UserBillRPC

func (this *RPCClient) UserBillRPC() pb.UserBillServiceClient

func (*RPCClient) UserNodeRPC

func (this *RPCClient) UserNodeRPC() pb.UserNodeServiceClient

func (*RPCClient) UserRPC

func (this *RPCClient) UserRPC() pb.UserServiceClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL