Versions in this module Expand all Collapse all v1 v1.0.3 Dec 24, 2025 v1.0.2 Dec 23, 2025 v1.0.1 Dec 14, 2025 v1.0.0 Dec 11, 2025 Changes in this version + const Api_AddInbound_FullMethodName + const Api_CloseDb_FullMethodName + const Api_Decode_FullMethodName + const Api_DefaultNICHasGlobalV6_FullMethodName + const Api_Deploy_FullMethodName + const Api_Download_FullMethodName + const Api_GenerateCert_FullMethodName + const Api_GenerateX25519KeyPair_FullMethodName + const Api_GeoIP_FullMethodName + const Api_GetCertDomain_FullMethodName + const Api_GetServerPublicKey_FullMethodName + const Api_HandlerUsable_FullMethodName + const Api_InboundConfigToOutboundConfig_FullMethodName + const Api_MonitorServer_FullMethodName + const Api_OpenDb_FullMethodName + const Api_ParseClashRuleFile_FullMethodName + const Api_ParseGeoIPConfig_FullMethodName + const Api_ParseGeositeConfig_FullMethodName + const Api_ProcessGeoFiles_FullMethodName + const Api_RttTest_FullMethodName + const Api_RunRealiScanner_FullMethodName + const Api_ServerAction_FullMethodName + const Api_ServerConfig_FullMethodName + const Api_SpeedTest_FullMethodName + const Api_StartMacSystemProxy_FullMethodName + const Api_StopMacSystemProxy_FullMethodName + const Api_ToUrl_FullMethodName + const Api_UpdateServerConfig_FullMethodName + const Api_UpdateSubscription_FullMethodName + const Api_UpdateTmStatus_FullMethodName + const Api_UploadLog_FullMethodName + const Api_VX_FullMethodName + const Api_VproxyStatus_FullMethodName + const HostTypeCIDR + const HostTypeDomain + const HostTypeIP + var Api_ServiceDesc = grpc.ServiceDesc + var File_app_api_api_proto protoreflect.FileDescriptor + var HysteriaConfigPath = "/etc/hysteria/config.yaml" + var ServerActionRequest_Action_name = map[int32]string + var ServerActionRequest_Action_value = map[string]int32 + var XStatusChangeNotifyRequest_Status_name = map[int32]string + var XStatusChangeNotifyRequest_Status_value = map[string]int32 + func InstallHysteria(sshClient *sshhelper.Client, user string) error + func InstallVX(sshClient *sshhelper.Client, user string) error + func InstallXray(sshClient *sshhelper.Client, user string) error + func IterateAddr(ctx context.Context, addr string) (<-chan Host, error) + func LookupIP(ctx context.Context, addr string) (net.IP, error) + func NextIP(ip net.IP, increment bool) net.IP + func RegisterApiServer(s grpc.ServiceRegistrar, srv ApiServer) + func ScanTLS(ctx context.Context, host Host, out chan<- string) + func UninstallVX(sshClient *sshhelper.Client) error + func UpdateHysteriaConfig(sshClient *sshhelper.Client, config []byte) error + func UpdateVX(sshClient *sshhelper.Client, user string) error + func UpdateXrayConfig(sshClient *sshhelper.Client, config []byte) error + type AddInboundRequest struct + Inbound *configs.ProxyInboundConfig + func (*AddInboundRequest) Descriptor() ([]byte, []int) + func (*AddInboundRequest) ProtoMessage() + func (x *AddInboundRequest) GetInbound() *configs.ProxyInboundConfig + func (x *AddInboundRequest) ProtoReflect() protoreflect.Message + func (x *AddInboundRequest) Reset() + func (x *AddInboundRequest) String() string + type AddInboundResponse struct + func (*AddInboundResponse) Descriptor() ([]byte, []int) + func (*AddInboundResponse) ProtoMessage() + func (x *AddInboundResponse) ProtoReflect() protoreflect.Message + func (x *AddInboundResponse) Reset() + func (x *AddInboundResponse) String() string + type Api struct + func StartApiServer(config *ApiServerConfig, options ...ApiOption) (*Api, error) + func (a *Api) ApiDownload(req *DownloadRequest, dialerFactory transport.DialerFactory) (*DownloadResponse, error) + func (a *Api) CloseDb(ctx context.Context, req *CloseDbRequest) (*Receipt, error) + func (a *Api) Decode(ctx context.Context, req *DecodeRequest) (*DecodeResponse, error) + func (a *Api) DecreaseClientUser(c *SshClientCacheItem) error + func (a *Api) DefaultNICHasGlobalV6(ctx context.Context, req *DefaultNICHasGlobalV6Request) (*DefaultNICHasGlobalV6Response, error) + func (a *Api) Deploy(ctx context.Context, req *DeployRequest) (*DeployResponse, error) + func (a *Api) Download(ctx context.Context, req *DownloadRequest) (*DownloadResponse, error) + func (a *Api) GenerateCert(ctx context.Context, req *GenerateCertRequest) (*GenerateCertResponse, error) + func (a *Api) GenerateX25519KeyPair(ctx context.Context, req *GenerateX25519KeyPairRequest) (*GenerateX25519KeyPairResponse, error) + func (a *Api) GeoIP(ctx context.Context, req *GeoIPRequest) (*GeoIPResponse, error) + func (a *Api) GetCertDomain(ctx context.Context, req *GetCertDomainRequest) (*GetCertDomainResponse, error) + func (a *Api) GetDb() *gorm.DB + func (a *Api) GetServerPublicKey(ctx context.Context, req *GetServerPublicKeyRequest) (*GetServerPublicKeyResponse, error) + func (a *Api) HandlerTest(ctx context.Context, req *HandlerUsableRequest, url string) (ret HandlerUsableResponse) + func (a *Api) HandlerUsable(ctx context.Context, req *HandlerUsableRequest) (*HandlerUsableResponse, error) + func (a *Api) InboundConfigToOutboundConfig(ctx context.Context, req *InboundConfigToOutboundConfigRequest) (*InboundConfigToOutboundConfigResponse, error) + func (a *Api) MonitorServer(req *MonitorServerRequest, in Api_MonitorServerServer) error + func (a *Api) OpenDb(ctx context.Context, req *OpenDbRequest) (*Receipt, error) + func (a *Api) ParseClashRuleFile(c context.Context, req *ParseClashRuleFileRequest) (*ParseClashRuleFileResponse, error) + func (a *Api) ParseGeoIPConfig(ctx context.Context, req *ParseGeoIPConfigRequest) (*ParseGeoIPConfigResponse, error) + func (a *Api) ParseGeositeConfig(ctx context.Context, req *ParseGeositeConfigRequest) (*ParseGeositeConfigResponse, error) + func (a *Api) ProcessGeoFiles(ctx context.Context, req *ProcessGeoFilesRequest) (*ProcessGeoFilesResponse, error) + func (a *Api) RttTest(ctx context.Context, req *RttTestRequest) (*RttTestResponse, error) + func (a *Api) RunRealiScanner(ctx context.Context, req *RunRealiScannerRequest) (*RunRealiScannerResponse, error) + func (a *Api) ServerAction(ctx context.Context, req *ServerActionRequest) (*ServerActionResponse, error) + func (a *Api) ServerConfig(ctx context.Context, req *ServerConfigRequest) (*ServerConfigResponse, error) + func (a *Api) SetSecret(id uint32, secret string) + func (a *Api) SpeedTest(req *SpeedTestRequest, in Api_SpeedTestServer) error + func (a *Api) StartMacSystemProxy(ctx context.Context, req *StartMacSystemProxyRequest) (*Receipt, error) + func (a *Api) Stop() + func (a *Api) StopMacSystemProxy(ctx context.Context, req *StopMacSystemProxyRequest) (*Receipt, error) + func (a *Api) ToUrl(ctx context.Context, req *ToUrlRequest) (*ToUrlResponse, error) + func (a *Api) UpdateServerConfig(ctx context.Context, req *UpdateServerConfigRequest) (*UpdateServerConfigResponse, error) + func (a *Api) UpdateSubscription(ctx context.Context, req *UpdateSubscriptionRequest) (*UpdateSubscriptionResponse, error) + func (a *Api) UpdateTmStatus(ctx context.Context, req *UpdateTmStatusRequest) (*Receipt, error) + func (a *Api) UploadLog(ctx context.Context, req *UploadLogRequest) (*UploadLogResponse, error) + func (a *Api) VX(ctx context.Context, req *VXRequest) (*Receipt, error) + func (a *Api) VproxyStatus(ctx context.Context, req *VproxyStatusRequest) (*VproxyStatusResponse, error) + type ApiClient interface + AddInbound func(ctx context.Context, in *AddInboundRequest, opts ...grpc.CallOption) (*AddInboundResponse, error) + CloseDb func(ctx context.Context, in *CloseDbRequest, opts ...grpc.CallOption) (*Receipt, error) + Decode func(ctx context.Context, in *DecodeRequest, opts ...grpc.CallOption) (*DecodeResponse, error) + DefaultNICHasGlobalV6 func(ctx context.Context, in *DefaultNICHasGlobalV6Request, opts ...grpc.CallOption) (*DefaultNICHasGlobalV6Response, error) + Deploy func(ctx context.Context, in *DeployRequest, opts ...grpc.CallOption) (*DeployResponse, error) + Download func(ctx context.Context, in *DownloadRequest, opts ...grpc.CallOption) (*DownloadResponse, error) + GenerateCert func(ctx context.Context, in *GenerateCertRequest, opts ...grpc.CallOption) (*GenerateCertResponse, error) + GenerateX25519KeyPair func(ctx context.Context, in *GenerateX25519KeyPairRequest, opts ...grpc.CallOption) (*GenerateX25519KeyPairResponse, error) + GeoIP func(ctx context.Context, in *GeoIPRequest, opts ...grpc.CallOption) (*GeoIPResponse, error) + GetCertDomain func(ctx context.Context, in *GetCertDomainRequest, opts ...grpc.CallOption) (*GetCertDomainResponse, error) + GetServerPublicKey func(ctx context.Context, in *GetServerPublicKeyRequest, opts ...grpc.CallOption) (*GetServerPublicKeyResponse, error) + HandlerUsable func(ctx context.Context, in *HandlerUsableRequest, opts ...grpc.CallOption) (*HandlerUsableResponse, error) + InboundConfigToOutboundConfig func(ctx context.Context, in *InboundConfigToOutboundConfigRequest, ...) (*InboundConfigToOutboundConfigResponse, error) + MonitorServer func(ctx context.Context, in *MonitorServerRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[MonitorServerResponse], error) + OpenDb func(ctx context.Context, in *OpenDbRequest, opts ...grpc.CallOption) (*Receipt, error) + ParseClashRuleFile func(ctx context.Context, in *ParseClashRuleFileRequest, opts ...grpc.CallOption) (*ParseClashRuleFileResponse, error) + ParseGeoIPConfig func(ctx context.Context, in *ParseGeoIPConfigRequest, opts ...grpc.CallOption) (*ParseGeoIPConfigResponse, error) + ParseGeositeConfig func(ctx context.Context, in *ParseGeositeConfigRequest, opts ...grpc.CallOption) (*ParseGeositeConfigResponse, error) + ProcessGeoFiles func(ctx context.Context, in *ProcessGeoFilesRequest, opts ...grpc.CallOption) (*ProcessGeoFilesResponse, error) + RttTest func(ctx context.Context, in *RttTestRequest, opts ...grpc.CallOption) (*RttTestResponse, error) + RunRealiScanner func(ctx context.Context, in *RunRealiScannerRequest, opts ...grpc.CallOption) (*RunRealiScannerResponse, error) + ServerAction func(ctx context.Context, in *ServerActionRequest, opts ...grpc.CallOption) (*ServerActionResponse, error) + ServerConfig func(ctx context.Context, in *ServerConfigRequest, opts ...grpc.CallOption) (*ServerConfigResponse, error) + SpeedTest func(ctx context.Context, in *SpeedTestRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SpeedTestResponse], error) + StartMacSystemProxy func(ctx context.Context, in *StartMacSystemProxyRequest, opts ...grpc.CallOption) (*Receipt, error) + StopMacSystemProxy func(ctx context.Context, in *StopMacSystemProxyRequest, opts ...grpc.CallOption) (*Receipt, error) + ToUrl func(ctx context.Context, in *ToUrlRequest, opts ...grpc.CallOption) (*ToUrlResponse, error) + UpdateServerConfig func(ctx context.Context, in *UpdateServerConfigRequest, opts ...grpc.CallOption) (*UpdateServerConfigResponse, error) + UpdateSubscription func(ctx context.Context, in *UpdateSubscriptionRequest, opts ...grpc.CallOption) (*UpdateSubscriptionResponse, error) + UpdateTmStatus func(ctx context.Context, in *UpdateTmStatusRequest, opts ...grpc.CallOption) (*Receipt, error) + UploadLog func(ctx context.Context, in *UploadLogRequest, opts ...grpc.CallOption) (*UploadLogResponse, error) + VX func(ctx context.Context, in *VXRequest, opts ...grpc.CallOption) (*Receipt, error) + VproxyStatus func(ctx context.Context, in *VproxyStatusRequest, opts ...grpc.CallOption) (*VproxyStatusResponse, error) + func NewApiClient(cc grpc.ClientConnInterface) ApiClient + type ApiOption func(*Api) + type ApiServer interface + AddInbound func(context.Context, *AddInboundRequest) (*AddInboundResponse, error) + CloseDb func(context.Context, *CloseDbRequest) (*Receipt, error) + Decode func(context.Context, *DecodeRequest) (*DecodeResponse, error) + DefaultNICHasGlobalV6 func(context.Context, *DefaultNICHasGlobalV6Request) (*DefaultNICHasGlobalV6Response, error) + Deploy func(context.Context, *DeployRequest) (*DeployResponse, error) + Download func(context.Context, *DownloadRequest) (*DownloadResponse, error) + GenerateCert func(context.Context, *GenerateCertRequest) (*GenerateCertResponse, error) + GenerateX25519KeyPair func(context.Context, *GenerateX25519KeyPairRequest) (*GenerateX25519KeyPairResponse, error) + GeoIP func(context.Context, *GeoIPRequest) (*GeoIPResponse, error) + GetCertDomain func(context.Context, *GetCertDomainRequest) (*GetCertDomainResponse, error) + GetServerPublicKey func(context.Context, *GetServerPublicKeyRequest) (*GetServerPublicKeyResponse, error) + HandlerUsable func(context.Context, *HandlerUsableRequest) (*HandlerUsableResponse, error) + InboundConfigToOutboundConfig func(context.Context, *InboundConfigToOutboundConfigRequest) (*InboundConfigToOutboundConfigResponse, error) + MonitorServer func(*MonitorServerRequest, grpc.ServerStreamingServer[MonitorServerResponse]) error + OpenDb func(context.Context, *OpenDbRequest) (*Receipt, error) + ParseClashRuleFile func(context.Context, *ParseClashRuleFileRequest) (*ParseClashRuleFileResponse, error) + ParseGeoIPConfig func(context.Context, *ParseGeoIPConfigRequest) (*ParseGeoIPConfigResponse, error) + ParseGeositeConfig func(context.Context, *ParseGeositeConfigRequest) (*ParseGeositeConfigResponse, error) + ProcessGeoFiles func(context.Context, *ProcessGeoFilesRequest) (*ProcessGeoFilesResponse, error) + RttTest func(context.Context, *RttTestRequest) (*RttTestResponse, error) + RunRealiScanner func(context.Context, *RunRealiScannerRequest) (*RunRealiScannerResponse, error) + ServerAction func(context.Context, *ServerActionRequest) (*ServerActionResponse, error) + ServerConfig func(context.Context, *ServerConfigRequest) (*ServerConfigResponse, error) + SpeedTest func(*SpeedTestRequest, grpc.ServerStreamingServer[SpeedTestResponse]) error + StartMacSystemProxy func(context.Context, *StartMacSystemProxyRequest) (*Receipt, error) + StopMacSystemProxy func(context.Context, *StopMacSystemProxyRequest) (*Receipt, error) + ToUrl func(context.Context, *ToUrlRequest) (*ToUrlResponse, error) + UpdateServerConfig func(context.Context, *UpdateServerConfigRequest) (*UpdateServerConfigResponse, error) + UpdateSubscription func(context.Context, *UpdateSubscriptionRequest) (*UpdateSubscriptionResponse, error) + UpdateTmStatus func(context.Context, *UpdateTmStatusRequest) (*Receipt, error) + UploadLog func(context.Context, *UploadLogRequest) (*UploadLogResponse, error) + VX func(context.Context, *VXRequest) (*Receipt, error) + VproxyStatus func(context.Context, *VproxyStatusRequest) (*VproxyStatusResponse, error) + type ApiServerConfig struct + BindToDefaultNic bool + ClientCert []byte + DbPath string + GeoipPath string + Interval uint32 + LastUpdateTime uint32 + ListenAddr string + LogLevel uint32 + TunName string + func (*ApiServerConfig) Descriptor() ([]byte, []int) + func (*ApiServerConfig) ProtoMessage() + func (x *ApiServerConfig) GetBindToDefaultNic() bool + func (x *ApiServerConfig) GetClientCert() []byte + func (x *ApiServerConfig) GetDbPath() string + func (x *ApiServerConfig) GetGeoipPath() string + func (x *ApiServerConfig) GetInterval() uint32 + func (x *ApiServerConfig) GetLastUpdateTime() uint32 + func (x *ApiServerConfig) GetListenAddr() string + func (x *ApiServerConfig) GetLogLevel() uint32 + func (x *ApiServerConfig) GetTunName() string + func (x *ApiServerConfig) ProtoReflect() protoreflect.Message + func (x *ApiServerConfig) Reset() + func (x *ApiServerConfig) String() string + type Api_MonitorServerClient = grpc.ServerStreamingClient[MonitorServerResponse] + type Api_MonitorServerServer = grpc.ServerStreamingServer[MonitorServerResponse] + type Api_SpeedTestClient = grpc.ServerStreamingClient[SpeedTestResponse] + type Api_SpeedTestServer = grpc.ServerStreamingServer[SpeedTestResponse] + type CloseDbRequest struct + func (*CloseDbRequest) Descriptor() ([]byte, []int) + func (*CloseDbRequest) ProtoMessage() + func (x *CloseDbRequest) ProtoReflect() protoreflect.Message + func (x *CloseDbRequest) Reset() + func (x *CloseDbRequest) String() string + type DecodeRequest struct + Data string + func (*DecodeRequest) Descriptor() ([]byte, []int) + func (*DecodeRequest) ProtoMessage() + func (x *DecodeRequest) GetData() string + func (x *DecodeRequest) ProtoReflect() protoreflect.Message + func (x *DecodeRequest) Reset() + func (x *DecodeRequest) String() string + type DecodeResponse struct + FailedNodes []string + Handlers []*configs.OutboundHandlerConfig + func (*DecodeResponse) Descriptor() ([]byte, []int) + func (*DecodeResponse) ProtoMessage() + func (x *DecodeResponse) GetFailedNodes() []string + func (x *DecodeResponse) GetHandlers() []*configs.OutboundHandlerConfig + func (x *DecodeResponse) ProtoReflect() protoreflect.Message + func (x *DecodeResponse) Reset() + func (x *DecodeResponse) String() string + type DefaultNICHasGlobalV6Request struct + func (*DefaultNICHasGlobalV6Request) Descriptor() ([]byte, []int) + func (*DefaultNICHasGlobalV6Request) ProtoMessage() + func (x *DefaultNICHasGlobalV6Request) ProtoReflect() protoreflect.Message + func (x *DefaultNICHasGlobalV6Request) Reset() + func (x *DefaultNICHasGlobalV6Request) String() string + type DefaultNICHasGlobalV6Response struct + HasGlobalV6 bool + func (*DefaultNICHasGlobalV6Response) Descriptor() ([]byte, []int) + func (*DefaultNICHasGlobalV6Response) ProtoMessage() + func (x *DefaultNICHasGlobalV6Response) GetHasGlobalV6() bool + func (x *DefaultNICHasGlobalV6Response) ProtoReflect() protoreflect.Message + func (x *DefaultNICHasGlobalV6Response) Reset() + func (x *DefaultNICHasGlobalV6Response) String() string + type DeployRequest struct + Files map[string][]byte + HysteriaConfig []byte + SshConfig *ServerSshConfig + VxConfig *server.ServerConfig + XrayConfig []byte + func (*DeployRequest) Descriptor() ([]byte, []int) + func (*DeployRequest) ProtoMessage() + func (x *DeployRequest) GetFiles() map[string][]byte + func (x *DeployRequest) GetHysteriaConfig() []byte + func (x *DeployRequest) GetSshConfig() *ServerSshConfig + func (x *DeployRequest) GetVxConfig() *server.ServerConfig + func (x *DeployRequest) GetXrayConfig() []byte + func (x *DeployRequest) ProtoReflect() protoreflect.Message + func (x *DeployRequest) Reset() + func (x *DeployRequest) String() string + type DeployResponse struct + func (*DeployResponse) Descriptor() ([]byte, []int) + func (*DeployResponse) ProtoMessage() + func (x *DeployResponse) ProtoReflect() protoreflect.Message + func (x *DeployResponse) Reset() + func (x *DeployResponse) String() string + type DownloadRequest struct + Dest string + Handlers []*configs.HandlerConfig + Url string + func (*DownloadRequest) Descriptor() ([]byte, []int) + func (*DownloadRequest) ProtoMessage() + func (x *DownloadRequest) GetDest() string + func (x *DownloadRequest) GetHandlers() []*configs.HandlerConfig + func (x *DownloadRequest) GetUrl() string + func (x *DownloadRequest) ProtoReflect() protoreflect.Message + func (x *DownloadRequest) Reset() + func (x *DownloadRequest) String() string + type DownloadResponse struct + Data []byte + Usage map[string]uint32 + func (*DownloadResponse) Descriptor() ([]byte, []int) + func (*DownloadResponse) ProtoMessage() + func (x *DownloadResponse) GetData() []byte + func (x *DownloadResponse) GetUsage() map[string]uint32 + func (x *DownloadResponse) ProtoReflect() protoreflect.Message + func (x *DownloadResponse) Reset() + func (x *DownloadResponse) String() string + type GenerateCertRequest struct + Domain string + func (*GenerateCertRequest) Descriptor() ([]byte, []int) + func (*GenerateCertRequest) ProtoMessage() + func (x *GenerateCertRequest) GetDomain() string + func (x *GenerateCertRequest) ProtoReflect() protoreflect.Message + func (x *GenerateCertRequest) Reset() + func (x *GenerateCertRequest) String() string + type GenerateCertResponse struct + Cert []byte + CertHash []byte + Key []byte + func (*GenerateCertResponse) Descriptor() ([]byte, []int) + func (*GenerateCertResponse) ProtoMessage() + func (x *GenerateCertResponse) GetCert() []byte + func (x *GenerateCertResponse) GetCertHash() []byte + func (x *GenerateCertResponse) GetKey() []byte + func (x *GenerateCertResponse) ProtoReflect() protoreflect.Message + func (x *GenerateCertResponse) Reset() + func (x *GenerateCertResponse) String() string + type GenerateX25519KeyPairRequest struct + func (*GenerateX25519KeyPairRequest) Descriptor() ([]byte, []int) + func (*GenerateX25519KeyPairRequest) ProtoMessage() + func (x *GenerateX25519KeyPairRequest) ProtoReflect() protoreflect.Message + func (x *GenerateX25519KeyPairRequest) Reset() + func (x *GenerateX25519KeyPairRequest) String() string + type GenerateX25519KeyPairResponse struct + Pri string + Pub string + func (*GenerateX25519KeyPairResponse) Descriptor() ([]byte, []int) + func (*GenerateX25519KeyPairResponse) ProtoMessage() + func (x *GenerateX25519KeyPairResponse) GetPri() string + func (x *GenerateX25519KeyPairResponse) GetPub() string + func (x *GenerateX25519KeyPairResponse) ProtoReflect() protoreflect.Message + func (x *GenerateX25519KeyPairResponse) Reset() + func (x *GenerateX25519KeyPairResponse) String() string + type GeoIPRequest struct + Ips []string + func (*GeoIPRequest) Descriptor() ([]byte, []int) + func (*GeoIPRequest) ProtoMessage() + func (x *GeoIPRequest) GetIps() []string + func (x *GeoIPRequest) ProtoReflect() protoreflect.Message + func (x *GeoIPRequest) Reset() + func (x *GeoIPRequest) String() string + type GeoIPResponse struct + Countries []string + func (*GeoIPResponse) Descriptor() ([]byte, []int) + func (*GeoIPResponse) ProtoMessage() + func (x *GeoIPResponse) GetCountries() []string + func (x *GeoIPResponse) ProtoReflect() protoreflect.Message + func (x *GeoIPResponse) Reset() + func (x *GeoIPResponse) String() string + type GetCertDomainRequest struct + Cert []byte + func (*GetCertDomainRequest) Descriptor() ([]byte, []int) + func (*GetCertDomainRequest) ProtoMessage() + func (x *GetCertDomainRequest) GetCert() []byte + func (x *GetCertDomainRequest) ProtoReflect() protoreflect.Message + func (x *GetCertDomainRequest) Reset() + func (x *GetCertDomainRequest) String() string + type GetCertDomainResponse struct + Domain string + func (*GetCertDomainResponse) Descriptor() ([]byte, []int) + func (*GetCertDomainResponse) ProtoMessage() + func (x *GetCertDomainResponse) GetDomain() string + func (x *GetCertDomainResponse) ProtoReflect() protoreflect.Message + func (x *GetCertDomainResponse) Reset() + func (x *GetCertDomainResponse) String() string + type GetServerPublicKeyRequest struct + SshConfig *ServerSshConfig + func (*GetServerPublicKeyRequest) Descriptor() ([]byte, []int) + func (*GetServerPublicKeyRequest) ProtoMessage() + func (x *GetServerPublicKeyRequest) GetSshConfig() *ServerSshConfig + func (x *GetServerPublicKeyRequest) ProtoReflect() protoreflect.Message + func (x *GetServerPublicKeyRequest) Reset() + func (x *GetServerPublicKeyRequest) String() string + type GetServerPublicKeyResponse struct + PublicKey []byte + func (*GetServerPublicKeyResponse) Descriptor() ([]byte, []int) + func (*GetServerPublicKeyResponse) ProtoMessage() + func (x *GetServerPublicKeyResponse) GetPublicKey() []byte + func (x *GetServerPublicKeyResponse) ProtoReflect() protoreflect.Message + func (x *GetServerPublicKeyResponse) Reset() + func (x *GetServerPublicKeyResponse) String() string + type HandlerIpRequest struct + Handler *configs.OutboundHandlerConfig + func (*HandlerIpRequest) Descriptor() ([]byte, []int) + func (*HandlerIpRequest) ProtoMessage() + func (x *HandlerIpRequest) GetHandler() *configs.OutboundHandlerConfig + func (x *HandlerIpRequest) ProtoReflect() protoreflect.Message + func (x *HandlerIpRequest) Reset() + func (x *HandlerIpRequest) String() string + type HandlerIpResponse struct + Ip4 string + Ip6 string + func (*HandlerIpResponse) Descriptor() ([]byte, []int) + func (*HandlerIpResponse) ProtoMessage() + func (x *HandlerIpResponse) GetIp4() string + func (x *HandlerIpResponse) GetIp6() string + func (x *HandlerIpResponse) ProtoReflect() protoreflect.Message + func (x *HandlerIpResponse) Reset() + func (x *HandlerIpResponse) String() string + type HandlerUsableRequest struct + Handler *configs.HandlerConfig + func (*HandlerUsableRequest) Descriptor() ([]byte, []int) + func (*HandlerUsableRequest) ProtoMessage() + func (x *HandlerUsableRequest) GetHandler() *configs.HandlerConfig + func (x *HandlerUsableRequest) ProtoReflect() protoreflect.Message + func (x *HandlerUsableRequest) Reset() + func (x *HandlerUsableRequest) String() string + type HandlerUsableResponse struct + Ip string + Ping int32 + func (*HandlerUsableResponse) Descriptor() ([]byte, []int) + func (*HandlerUsableResponse) ProtoMessage() + func (x *HandlerUsableResponse) GetIp() string + func (x *HandlerUsableResponse) GetPing() int32 + func (x *HandlerUsableResponse) ProtoReflect() protoreflect.Message + func (x *HandlerUsableResponse) Reset() + func (x *HandlerUsableResponse) String() string + type Host struct + IP net.IP + Origin string + Type HostType + type HostType int + type InboundConfigToOutboundConfigRequest struct + Inbound *configs.ProxyInboundConfig + MultiInbound *configs.MultiProxyInboundConfig + ServerAddress string + ServerName string + func (*InboundConfigToOutboundConfigRequest) Descriptor() ([]byte, []int) + func (*InboundConfigToOutboundConfigRequest) ProtoMessage() + func (x *InboundConfigToOutboundConfigRequest) GetInbound() *configs.ProxyInboundConfig + func (x *InboundConfigToOutboundConfigRequest) GetMultiInbound() *configs.MultiProxyInboundConfig + func (x *InboundConfigToOutboundConfigRequest) GetServerAddress() string + func (x *InboundConfigToOutboundConfigRequest) GetServerName() string + func (x *InboundConfigToOutboundConfigRequest) ProtoReflect() protoreflect.Message + func (x *InboundConfigToOutboundConfigRequest) Reset() + func (x *InboundConfigToOutboundConfigRequest) String() string + type InboundConfigToOutboundConfigResponse struct + OutboundConfigs []*configs.OutboundHandlerConfig + func (*InboundConfigToOutboundConfigResponse) Descriptor() ([]byte, []int) + func (*InboundConfigToOutboundConfigResponse) ProtoMessage() + func (x *InboundConfigToOutboundConfigResponse) GetOutboundConfigs() []*configs.OutboundHandlerConfig + func (x *InboundConfigToOutboundConfigResponse) ProtoReflect() protoreflect.Message + func (x *InboundConfigToOutboundConfigResponse) Reset() + func (x *InboundConfigToOutboundConfigResponse) String() string + type MonitorServerRequest struct + Interval uint32 + SshConfig *ServerSshConfig + func (*MonitorServerRequest) Descriptor() ([]byte, []int) + func (*MonitorServerRequest) ProtoMessage() + func (x *MonitorServerRequest) GetInterval() uint32 + func (x *MonitorServerRequest) GetSshConfig() *ServerSshConfig + func (x *MonitorServerRequest) ProtoReflect() protoreflect.Message + func (x *MonitorServerRequest) Reset() + func (x *MonitorServerRequest) String() string + type MonitorServerResponse struct + Cpu uint32 + NetInSpeed uint32 + NetInUsage uint64 + NetOutSpeed uint32 + NetOutUsage uint64 + TotalDisk uint32 + TotalMemory uint64 + UsedDisk uint32 + UsedMemory uint64 + func (*MonitorServerResponse) Descriptor() ([]byte, []int) + func (*MonitorServerResponse) ProtoMessage() + func (x *MonitorServerResponse) GetCpu() uint32 + func (x *MonitorServerResponse) GetNetInSpeed() uint32 + func (x *MonitorServerResponse) GetNetInUsage() uint64 + func (x *MonitorServerResponse) GetNetOutSpeed() uint32 + func (x *MonitorServerResponse) GetNetOutUsage() uint64 + func (x *MonitorServerResponse) GetTotalDisk() uint32 + func (x *MonitorServerResponse) GetTotalMemory() uint64 + func (x *MonitorServerResponse) GetUsedDisk() uint32 + func (x *MonitorServerResponse) GetUsedMemory() uint64 + func (x *MonitorServerResponse) ProtoReflect() protoreflect.Message + func (x *MonitorServerResponse) Reset() + func (x *MonitorServerResponse) String() string + type OpenDbRequest struct + Path string + func (*OpenDbRequest) Descriptor() ([]byte, []int) + func (*OpenDbRequest) ProtoMessage() + func (x *OpenDbRequest) GetPath() string + func (x *OpenDbRequest) ProtoReflect() protoreflect.Message + func (x *OpenDbRequest) Reset() + func (x *OpenDbRequest) String() string + type ParseClashRuleFileRequest struct + Content []byte + func (*ParseClashRuleFileRequest) Descriptor() ([]byte, []int) + func (*ParseClashRuleFileRequest) ProtoMessage() + func (x *ParseClashRuleFileRequest) GetContent() []byte + func (x *ParseClashRuleFileRequest) ProtoReflect() protoreflect.Message + func (x *ParseClashRuleFileRequest) Reset() + func (x *ParseClashRuleFileRequest) String() string + type ParseClashRuleFileResponse struct + AppIds []*configs.AppId + Cidrs []*geo.CIDR + Domains []*geo.Domain + func (*ParseClashRuleFileResponse) Descriptor() ([]byte, []int) + func (*ParseClashRuleFileResponse) ProtoMessage() + func (x *ParseClashRuleFileResponse) GetAppIds() []*configs.AppId + func (x *ParseClashRuleFileResponse) GetCidrs() []*geo.CIDR + func (x *ParseClashRuleFileResponse) GetDomains() []*geo.Domain + func (x *ParseClashRuleFileResponse) ProtoReflect() protoreflect.Message + func (x *ParseClashRuleFileResponse) Reset() + func (x *ParseClashRuleFileResponse) String() string + type ParseGeoIPConfigRequest struct + Config *configs.GeoIPConfig + func (*ParseGeoIPConfigRequest) Descriptor() ([]byte, []int) + func (*ParseGeoIPConfigRequest) ProtoMessage() + func (x *ParseGeoIPConfigRequest) GetConfig() *configs.GeoIPConfig + func (x *ParseGeoIPConfigRequest) ProtoReflect() protoreflect.Message + func (x *ParseGeoIPConfigRequest) Reset() + func (x *ParseGeoIPConfigRequest) String() string + type ParseGeoIPConfigResponse struct + Cidrs []*geo.CIDR + func (*ParseGeoIPConfigResponse) Descriptor() ([]byte, []int) + func (*ParseGeoIPConfigResponse) ProtoMessage() + func (x *ParseGeoIPConfigResponse) GetCidrs() []*geo.CIDR + func (x *ParseGeoIPConfigResponse) ProtoReflect() protoreflect.Message + func (x *ParseGeoIPConfigResponse) Reset() + func (x *ParseGeoIPConfigResponse) String() string + type ParseGeositeConfigRequest struct + Config *configs.GeositeConfig + func (*ParseGeositeConfigRequest) Descriptor() ([]byte, []int) + func (*ParseGeositeConfigRequest) ProtoMessage() + func (x *ParseGeositeConfigRequest) GetConfig() *configs.GeositeConfig + func (x *ParseGeositeConfigRequest) ProtoReflect() protoreflect.Message + func (x *ParseGeositeConfigRequest) Reset() + func (x *ParseGeositeConfigRequest) String() string + type ParseGeositeConfigResponse struct + Domains []*geo.Domain + func (*ParseGeositeConfigResponse) Descriptor() ([]byte, []int) + func (*ParseGeositeConfigResponse) ProtoMessage() + func (x *ParseGeositeConfigResponse) GetDomains() []*geo.Domain + func (x *ParseGeositeConfigResponse) ProtoReflect() protoreflect.Message + func (x *ParseGeositeConfigResponse) Reset() + func (x *ParseGeositeConfigResponse) String() string + type ProcessGeoFilesRequest struct + DstGeoipPath string + DstGeositePath string + GeoipCodes []string + GeoipPath string + GeositeCodes []string + GeositePath string + func (*ProcessGeoFilesRequest) Descriptor() ([]byte, []int) + func (*ProcessGeoFilesRequest) ProtoMessage() + func (x *ProcessGeoFilesRequest) GetDstGeoipPath() string + func (x *ProcessGeoFilesRequest) GetDstGeositePath() string + func (x *ProcessGeoFilesRequest) GetGeoipCodes() []string + func (x *ProcessGeoFilesRequest) GetGeoipPath() string + func (x *ProcessGeoFilesRequest) GetGeositeCodes() []string + func (x *ProcessGeoFilesRequest) GetGeositePath() string + func (x *ProcessGeoFilesRequest) ProtoReflect() protoreflect.Message + func (x *ProcessGeoFilesRequest) Reset() + func (x *ProcessGeoFilesRequest) String() string + type ProcessGeoFilesResponse struct + func (*ProcessGeoFilesResponse) Descriptor() ([]byte, []int) + func (*ProcessGeoFilesResponse) ProtoMessage() + func (x *ProcessGeoFilesResponse) ProtoReflect() protoreflect.Message + func (x *ProcessGeoFilesResponse) Reset() + func (x *ProcessGeoFilesResponse) String() string + type RealiScannerResult struct + Domain string + Ip string + func RunRealiScanner(ctx context.Context, addr string) ([]*RealiScannerResult, error) + func (*RealiScannerResult) Descriptor() ([]byte, []int) + func (*RealiScannerResult) ProtoMessage() + func (x *RealiScannerResult) GetDomain() string + func (x *RealiScannerResult) GetIp() string + func (x *RealiScannerResult) ProtoReflect() protoreflect.Message + func (x *RealiScannerResult) Reset() + func (x *RealiScannerResult) String() string + type Receipt struct + func (*Receipt) Descriptor() ([]byte, []int) + func (*Receipt) ProtoMessage() + func (x *Receipt) ProtoReflect() protoreflect.Message + func (x *Receipt) Reset() + func (x *Receipt) String() string + type RttTestRequest struct + Addr string + Port uint32 + func (*RttTestRequest) Descriptor() ([]byte, []int) + func (*RttTestRequest) ProtoMessage() + func (x *RttTestRequest) GetAddr() string + func (x *RttTestRequest) GetPort() uint32 + func (x *RttTestRequest) ProtoReflect() protoreflect.Message + func (x *RttTestRequest) Reset() + func (x *RttTestRequest) String() string + type RttTestResponse struct + Ping uint32 + func (*RttTestResponse) Descriptor() ([]byte, []int) + func (*RttTestResponse) ProtoMessage() + func (x *RttTestResponse) GetPing() uint32 + func (x *RttTestResponse) ProtoReflect() protoreflect.Message + func (x *RttTestResponse) Reset() + func (x *RttTestResponse) String() string + type RunRealiScannerRequest struct + Addr string + func (*RunRealiScannerRequest) Descriptor() ([]byte, []int) + func (*RunRealiScannerRequest) ProtoMessage() + func (x *RunRealiScannerRequest) GetAddr() string + func (x *RunRealiScannerRequest) ProtoReflect() protoreflect.Message + func (x *RunRealiScannerRequest) Reset() + func (x *RunRealiScannerRequest) String() string + type RunRealiScannerResponse struct + Results []*RealiScannerResult + func (*RunRealiScannerResponse) Descriptor() ([]byte, []int) + func (*RunRealiScannerResponse) ProtoMessage() + func (x *RunRealiScannerResponse) GetResults() []*RealiScannerResult + func (x *RunRealiScannerResponse) ProtoReflect() protoreflect.Message + func (x *RunRealiScannerResponse) Reset() + func (x *RunRealiScannerResponse) String() string + type ServerActionRequest struct + Action ServerActionRequest_Action + SshConfig *ServerSshConfig + func (*ServerActionRequest) Descriptor() ([]byte, []int) + func (*ServerActionRequest) ProtoMessage() + func (x *ServerActionRequest) GetAction() ServerActionRequest_Action + func (x *ServerActionRequest) GetSshConfig() *ServerSshConfig + func (x *ServerActionRequest) ProtoReflect() protoreflect.Message + func (x *ServerActionRequest) Reset() + func (x *ServerActionRequest) String() string + type ServerActionRequest_Action int32 + const ServerActionRequest_ACTION_RESTART + const ServerActionRequest_ACTION_SHUTDOWN + func (ServerActionRequest_Action) Descriptor() protoreflect.EnumDescriptor + func (ServerActionRequest_Action) EnumDescriptor() ([]byte, []int) + func (ServerActionRequest_Action) Type() protoreflect.EnumType + func (x ServerActionRequest_Action) Enum() *ServerActionRequest_Action + func (x ServerActionRequest_Action) Number() protoreflect.EnumNumber + func (x ServerActionRequest_Action) String() string + type ServerActionResponse struct + func (*ServerActionResponse) Descriptor() ([]byte, []int) + func (*ServerActionResponse) ProtoMessage() + func (x *ServerActionResponse) ProtoReflect() protoreflect.Message + func (x *ServerActionResponse) Reset() + func (x *ServerActionResponse) String() string + type ServerConfigRequest struct + SshConfig *ServerSshConfig + func (*ServerConfigRequest) Descriptor() ([]byte, []int) + func (*ServerConfigRequest) ProtoMessage() + func (x *ServerConfigRequest) GetSshConfig() *ServerSshConfig + func (x *ServerConfigRequest) ProtoReflect() protoreflect.Message + func (x *ServerConfigRequest) Reset() + func (x *ServerConfigRequest) String() string + type ServerConfigResponse struct + Config *server.ServerConfig + func (*ServerConfigResponse) Descriptor() ([]byte, []int) + func (*ServerConfigResponse) ProtoMessage() + func (x *ServerConfigResponse) GetConfig() *server.ServerConfig + func (x *ServerConfigResponse) ProtoReflect() protoreflect.Message + func (x *ServerConfigResponse) Reset() + func (x *ServerConfigResponse) String() string + type ServerSshConfig struct + Address string + Port uint32 + ServerPubKey []byte + SshKey []byte + SshKeyPassphrase string + SshKeyPath string + SudoPassword string + Username string + func (*ServerSshConfig) Descriptor() ([]byte, []int) + func (*ServerSshConfig) ProtoMessage() + func (x *ServerSshConfig) GetAddress() string + func (x *ServerSshConfig) GetPort() uint32 + func (x *ServerSshConfig) GetServerPubKey() []byte + func (x *ServerSshConfig) GetSshKey() []byte + func (x *ServerSshConfig) GetSshKeyPassphrase() string + func (x *ServerSshConfig) GetSshKeyPath() string + func (x *ServerSshConfig) GetSudoPassword() string + func (x *ServerSshConfig) GetUsername() string + func (x *ServerSshConfig) ProtoReflect() protoreflect.Message + func (x *ServerSshConfig) Reset() + func (x *ServerSshConfig) String() string + type SetSubscriptionIntervalRequest struct + Interval int32 + func (*SetSubscriptionIntervalRequest) Descriptor() ([]byte, []int) + func (*SetSubscriptionIntervalRequest) ProtoMessage() + func (x *SetSubscriptionIntervalRequest) GetInterval() int32 + func (x *SetSubscriptionIntervalRequest) ProtoReflect() protoreflect.Message + func (x *SetSubscriptionIntervalRequest) Reset() + func (x *SetSubscriptionIntervalRequest) String() string + type SetSubscriptionIntervalResponse struct + func (*SetSubscriptionIntervalResponse) Descriptor() ([]byte, []int) + func (*SetSubscriptionIntervalResponse) ProtoMessage() + func (x *SetSubscriptionIntervalResponse) ProtoReflect() protoreflect.Message + func (x *SetSubscriptionIntervalResponse) Reset() + func (x *SetSubscriptionIntervalResponse) String() string + type SetTunNameRequest struct + TunName string + func (*SetTunNameRequest) Descriptor() ([]byte, []int) + func (*SetTunNameRequest) ProtoMessage() + func (x *SetTunNameRequest) GetTunName() string + func (x *SetTunNameRequest) ProtoReflect() protoreflect.Message + func (x *SetTunNameRequest) Reset() + func (x *SetTunNameRequest) String() string + type SetTunNameResponse struct + func (*SetTunNameResponse) Descriptor() ([]byte, []int) + func (*SetTunNameResponse) ProtoMessage() + func (x *SetTunNameResponse) ProtoReflect() protoreflect.Message + func (x *SetTunNameResponse) Reset() + func (x *SetTunNameResponse) String() string + type SpeedTestRequest struct + Handlers []*configs.HandlerConfig + Size uint32 + func (*SpeedTestRequest) Descriptor() ([]byte, []int) + func (*SpeedTestRequest) ProtoMessage() + func (x *SpeedTestRequest) GetHandlers() []*configs.HandlerConfig + func (x *SpeedTestRequest) GetSize() uint32 + func (x *SpeedTestRequest) ProtoReflect() protoreflect.Message + func (x *SpeedTestRequest) Reset() + func (x *SpeedTestRequest) String() string + type SpeedTestResponse struct + Down int32 + Tag string + UsageDown uint32 + func (*SpeedTestResponse) Descriptor() ([]byte, []int) + func (*SpeedTestResponse) ProtoMessage() + func (x *SpeedTestResponse) GetDown() int32 + func (x *SpeedTestResponse) GetTag() string + func (x *SpeedTestResponse) GetUsageDown() uint32 + func (x *SpeedTestResponse) ProtoReflect() protoreflect.Message + func (x *SpeedTestResponse) Reset() + func (x *SpeedTestResponse) String() string + type SpeedTestResult struct + Down uint64 + Ping uint32 + type SshClientCacheItem struct + Users int + type StartMacSystemProxyRequest struct + HttpProxyAddress string + HttpProxyPort uint32 + HttpsProxyAddress string + HttpsProxyPort uint32 + SocksProxyAddress string + SocksProxyPort uint32 + func (*StartMacSystemProxyRequest) Descriptor() ([]byte, []int) + func (*StartMacSystemProxyRequest) ProtoMessage() + func (x *StartMacSystemProxyRequest) GetHttpProxyAddress() string + func (x *StartMacSystemProxyRequest) GetHttpProxyPort() uint32 + func (x *StartMacSystemProxyRequest) GetHttpsProxyAddress() string + func (x *StartMacSystemProxyRequest) GetHttpsProxyPort() uint32 + func (x *StartMacSystemProxyRequest) GetSocksProxyAddress() string + func (x *StartMacSystemProxyRequest) GetSocksProxyPort() uint32 + func (x *StartMacSystemProxyRequest) ProtoReflect() protoreflect.Message + func (x *StartMacSystemProxyRequest) Reset() + func (x *StartMacSystemProxyRequest) String() string + type StopMacSystemProxyRequest struct + func (*StopMacSystemProxyRequest) Descriptor() ([]byte, []int) + func (*StopMacSystemProxyRequest) ProtoMessage() + func (x *StopMacSystemProxyRequest) ProtoReflect() protoreflect.Message + func (x *StopMacSystemProxyRequest) Reset() + func (x *StopMacSystemProxyRequest) String() string + type ToUrlRequest struct + OutboundConfogs []*configs.OutboundHandlerConfig + func (*ToUrlRequest) Descriptor() ([]byte, []int) + func (*ToUrlRequest) ProtoMessage() + func (x *ToUrlRequest) GetOutboundConfogs() []*configs.OutboundHandlerConfig + func (x *ToUrlRequest) ProtoReflect() protoreflect.Message + func (x *ToUrlRequest) Reset() + func (x *ToUrlRequest) String() string + type ToUrlResponse struct + FailedNodes []string + Urls []string + func (*ToUrlResponse) Descriptor() ([]byte, []int) + func (*ToUrlResponse) ProtoMessage() + func (x *ToUrlResponse) GetFailedNodes() []string + func (x *ToUrlResponse) GetUrls() []string + func (x *ToUrlResponse) ProtoReflect() protoreflect.Message + func (x *ToUrlResponse) Reset() + func (x *ToUrlResponse) String() string + type UnimplementedApiServer struct + func (UnimplementedApiServer) AddInbound(context.Context, *AddInboundRequest) (*AddInboundResponse, error) + func (UnimplementedApiServer) CloseDb(context.Context, *CloseDbRequest) (*Receipt, error) + func (UnimplementedApiServer) Decode(context.Context, *DecodeRequest) (*DecodeResponse, error) + func (UnimplementedApiServer) DefaultNICHasGlobalV6(context.Context, *DefaultNICHasGlobalV6Request) (*DefaultNICHasGlobalV6Response, error) + func (UnimplementedApiServer) Deploy(context.Context, *DeployRequest) (*DeployResponse, error) + func (UnimplementedApiServer) Download(context.Context, *DownloadRequest) (*DownloadResponse, error) + func (UnimplementedApiServer) GenerateCert(context.Context, *GenerateCertRequest) (*GenerateCertResponse, error) + func (UnimplementedApiServer) GenerateX25519KeyPair(context.Context, *GenerateX25519KeyPairRequest) (*GenerateX25519KeyPairResponse, error) + func (UnimplementedApiServer) GeoIP(context.Context, *GeoIPRequest) (*GeoIPResponse, error) + func (UnimplementedApiServer) GetCertDomain(context.Context, *GetCertDomainRequest) (*GetCertDomainResponse, error) + func (UnimplementedApiServer) GetServerPublicKey(context.Context, *GetServerPublicKeyRequest) (*GetServerPublicKeyResponse, error) + func (UnimplementedApiServer) HandlerUsable(context.Context, *HandlerUsableRequest) (*HandlerUsableResponse, error) + func (UnimplementedApiServer) InboundConfigToOutboundConfig(context.Context, *InboundConfigToOutboundConfigRequest) (*InboundConfigToOutboundConfigResponse, error) + func (UnimplementedApiServer) MonitorServer(*MonitorServerRequest, grpc.ServerStreamingServer[MonitorServerResponse]) error + func (UnimplementedApiServer) OpenDb(context.Context, *OpenDbRequest) (*Receipt, error) + func (UnimplementedApiServer) ParseClashRuleFile(context.Context, *ParseClashRuleFileRequest) (*ParseClashRuleFileResponse, error) + func (UnimplementedApiServer) ParseGeoIPConfig(context.Context, *ParseGeoIPConfigRequest) (*ParseGeoIPConfigResponse, error) + func (UnimplementedApiServer) ParseGeositeConfig(context.Context, *ParseGeositeConfigRequest) (*ParseGeositeConfigResponse, error) + func (UnimplementedApiServer) ProcessGeoFiles(context.Context, *ProcessGeoFilesRequest) (*ProcessGeoFilesResponse, error) + func (UnimplementedApiServer) RttTest(context.Context, *RttTestRequest) (*RttTestResponse, error) + func (UnimplementedApiServer) RunRealiScanner(context.Context, *RunRealiScannerRequest) (*RunRealiScannerResponse, error) + func (UnimplementedApiServer) ServerAction(context.Context, *ServerActionRequest) (*ServerActionResponse, error) + func (UnimplementedApiServer) ServerConfig(context.Context, *ServerConfigRequest) (*ServerConfigResponse, error) + func (UnimplementedApiServer) SpeedTest(*SpeedTestRequest, grpc.ServerStreamingServer[SpeedTestResponse]) error + func (UnimplementedApiServer) StartMacSystemProxy(context.Context, *StartMacSystemProxyRequest) (*Receipt, error) + func (UnimplementedApiServer) StopMacSystemProxy(context.Context, *StopMacSystemProxyRequest) (*Receipt, error) + func (UnimplementedApiServer) ToUrl(context.Context, *ToUrlRequest) (*ToUrlResponse, error) + func (UnimplementedApiServer) UpdateServerConfig(context.Context, *UpdateServerConfigRequest) (*UpdateServerConfigResponse, error) + func (UnimplementedApiServer) UpdateSubscription(context.Context, *UpdateSubscriptionRequest) (*UpdateSubscriptionResponse, error) + func (UnimplementedApiServer) UpdateTmStatus(context.Context, *UpdateTmStatusRequest) (*Receipt, error) + func (UnimplementedApiServer) UploadLog(context.Context, *UploadLogRequest) (*UploadLogResponse, error) + func (UnimplementedApiServer) VX(context.Context, *VXRequest) (*Receipt, error) + func (UnimplementedApiServer) VproxyStatus(context.Context, *VproxyStatusRequest) (*VproxyStatusResponse, error) + type UnsafeApiServer interface + type UpdateServerConfigRequest struct + Config *server.ServerConfig + SshConfig *ServerSshConfig + func (*UpdateServerConfigRequest) Descriptor() ([]byte, []int) + func (*UpdateServerConfigRequest) ProtoMessage() + func (x *UpdateServerConfigRequest) GetConfig() *server.ServerConfig + func (x *UpdateServerConfigRequest) GetSshConfig() *ServerSshConfig + func (x *UpdateServerConfigRequest) ProtoReflect() protoreflect.Message + func (x *UpdateServerConfigRequest) Reset() + func (x *UpdateServerConfigRequest) String() string + type UpdateServerConfigResponse struct + func (*UpdateServerConfigResponse) Descriptor() ([]byte, []int) + func (*UpdateServerConfigResponse) ProtoMessage() + func (x *UpdateServerConfigResponse) ProtoReflect() protoreflect.Message + func (x *UpdateServerConfigResponse) Reset() + func (x *UpdateServerConfigResponse) String() string + type UpdateSubscriptionRequest struct + All bool + Handlers []*configs.HandlerConfig + Id int64 + func (*UpdateSubscriptionRequest) Descriptor() ([]byte, []int) + func (*UpdateSubscriptionRequest) ProtoMessage() + func (x *UpdateSubscriptionRequest) GetAll() bool + func (x *UpdateSubscriptionRequest) GetHandlers() []*configs.HandlerConfig + func (x *UpdateSubscriptionRequest) GetId() int64 + func (x *UpdateSubscriptionRequest) ProtoReflect() protoreflect.Message + func (x *UpdateSubscriptionRequest) Reset() + func (x *UpdateSubscriptionRequest) String() string + type UpdateSubscriptionResponse struct + ErrorReasons map[string]string + Fail int32 + FailedNodes []string + Success int32 + SuccessNodes int32 + func (*UpdateSubscriptionResponse) Descriptor() ([]byte, []int) + func (*UpdateSubscriptionResponse) ProtoMessage() + func (x *UpdateSubscriptionResponse) GetErrorReasons() map[string]string + func (x *UpdateSubscriptionResponse) GetFail() int32 + func (x *UpdateSubscriptionResponse) GetFailedNodes() []string + func (x *UpdateSubscriptionResponse) GetSuccess() int32 + func (x *UpdateSubscriptionResponse) GetSuccessNodes() int32 + func (x *UpdateSubscriptionResponse) ProtoReflect() protoreflect.Message + func (x *UpdateSubscriptionResponse) Reset() + func (x *UpdateSubscriptionResponse) String() string + type UpdateTmStatusRequest struct + On bool + func (*UpdateTmStatusRequest) Descriptor() ([]byte, []int) + func (*UpdateTmStatusRequest) ProtoMessage() + func (x *UpdateTmStatusRequest) GetOn() bool + func (x *UpdateTmStatusRequest) ProtoReflect() protoreflect.Message + func (x *UpdateTmStatusRequest) Reset() + func (x *UpdateTmStatusRequest) String() string + type UploadLogRequest struct + Body string + Ca []byte + Secret string + Sni string + Url string + Version string + func (*UploadLogRequest) Descriptor() ([]byte, []int) + func (*UploadLogRequest) ProtoMessage() + func (x *UploadLogRequest) GetBody() string + func (x *UploadLogRequest) GetCa() []byte + func (x *UploadLogRequest) GetSecret() string + func (x *UploadLogRequest) GetSni() string + func (x *UploadLogRequest) GetUrl() string + func (x *UploadLogRequest) GetVersion() string + func (x *UploadLogRequest) ProtoReflect() protoreflect.Message + func (x *UploadLogRequest) Reset() + func (x *UploadLogRequest) String() string + type UploadLogResponse struct + func (*UploadLogResponse) Descriptor() ([]byte, []int) + func (*UploadLogResponse) ProtoMessage() + func (x *UploadLogResponse) ProtoReflect() protoreflect.Message + func (x *UploadLogResponse) Reset() + func (x *UploadLogResponse) String() string + type VXRequest struct + Install bool + Restart bool + SshConfig *ServerSshConfig + Start bool + Stop bool + Uninstall bool + Update bool + func (*VXRequest) Descriptor() ([]byte, []int) + func (*VXRequest) ProtoMessage() + func (x *VXRequest) GetInstall() bool + func (x *VXRequest) GetRestart() bool + func (x *VXRequest) GetSshConfig() *ServerSshConfig + func (x *VXRequest) GetStart() bool + func (x *VXRequest) GetStop() bool + func (x *VXRequest) GetUninstall() bool + func (x *VXRequest) GetUpdate() bool + func (x *VXRequest) ProtoReflect() protoreflect.Message + func (x *VXRequest) Reset() + func (x *VXRequest) String() string + type VproxyStatusRequest struct + SshConfig *ServerSshConfig + func (*VproxyStatusRequest) Descriptor() ([]byte, []int) + func (*VproxyStatusRequest) ProtoMessage() + func (x *VproxyStatusRequest) GetSshConfig() *ServerSshConfig + func (x *VproxyStatusRequest) ProtoReflect() protoreflect.Message + func (x *VproxyStatusRequest) Reset() + func (x *VproxyStatusRequest) String() string + type VproxyStatusResponse struct + Installed bool + Memory float32 + StartTime string + Version string + func (*VproxyStatusResponse) Descriptor() ([]byte, []int) + func (*VproxyStatusResponse) ProtoMessage() + func (x *VproxyStatusResponse) GetInstalled() bool + func (x *VproxyStatusResponse) GetMemory() float32 + func (x *VproxyStatusResponse) GetStartTime() string + func (x *VproxyStatusResponse) GetVersion() string + func (x *VproxyStatusResponse) ProtoReflect() protoreflect.Message + func (x *VproxyStatusResponse) Reset() + func (x *VproxyStatusResponse) String() string + type XStatusChangeNotifyRequest struct + Status XStatusChangeNotifyRequest_Status + func (*XStatusChangeNotifyRequest) Descriptor() ([]byte, []int) + func (*XStatusChangeNotifyRequest) ProtoMessage() + func (x *XStatusChangeNotifyRequest) GetStatus() XStatusChangeNotifyRequest_Status + func (x *XStatusChangeNotifyRequest) ProtoReflect() protoreflect.Message + func (x *XStatusChangeNotifyRequest) Reset() + func (x *XStatusChangeNotifyRequest) String() string + type XStatusChangeNotifyRequest_Status int32 + const XStatusChangeNotifyRequest_STATUS_START + const XStatusChangeNotifyRequest_STATUS_STARTING + const XStatusChangeNotifyRequest_STATUS_STOP + const XStatusChangeNotifyRequest_STATUS_STOPPING + func (XStatusChangeNotifyRequest_Status) Descriptor() protoreflect.EnumDescriptor + func (XStatusChangeNotifyRequest_Status) EnumDescriptor() ([]byte, []int) + func (XStatusChangeNotifyRequest_Status) Type() protoreflect.EnumType + func (x XStatusChangeNotifyRequest_Status) Enum() *XStatusChangeNotifyRequest_Status + func (x XStatusChangeNotifyRequest_Status) Number() protoreflect.EnumNumber + func (x XStatusChangeNotifyRequest_Status) String() string + type XStatusChangeNotifyResponse struct + func (*XStatusChangeNotifyResponse) Descriptor() ([]byte, []int) + func (*XStatusChangeNotifyResponse) ProtoMessage() + func (x *XStatusChangeNotifyResponse) ProtoReflect() protoreflect.Message + func (x *XStatusChangeNotifyResponse) Reset() + func (x *XStatusChangeNotifyResponse) String() string