rpc

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 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 ContextInterface

type ContextInterface interface {
	AdminContext() context.Context
}

type RPCClient

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

RPC客户端

func NewRPCClient

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

构造新的RPC客户端

func SharedRPC

func SharedRPC() (*RPCClient, error)

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

构造API上下文

func (*RPCClient) APINodeRPC

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

func (*RPCClient) AdminRPC

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

func (*RPCClient) Context

func (this *RPCClient) Context(adminId int64) 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) FileChunkRPC

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

func (*RPCClient) FileRPC

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

func (*RPCClient) HTTPAccessLogPolicyRPC

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

func (*RPCClient) HTTPAccessLogRPC

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

访问日志

func (*RPCClient) HTTPCachePolicyRPC

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

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) LogRPC

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

func (*RPCClient) LoginRPC

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

func (*RPCClient) MessageRPC

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

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) NodeIPAddressRPC

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

func (*RPCClient) NodeLogRPC

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

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) 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) 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) ServerGroupRPC

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

func (*RPCClient) ServerRPC

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

func (*RPCClient) SysSettingRPC

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

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