Versions in this module Expand all Collapse all v1 v1.2.803 Jul 30, 2023 v1.2.802 Jul 3, 2023 v1.2.801 Jul 1, 2023 Changes in this version + var File_shared_proto_listener_proto protoreflect.FileDescriptor + var Listener_ServiceDesc = grpc.ServiceDesc + func RegisterListenerServer(s grpc.ServiceRegistrar, srv ListenerServer) + type Cpu struct + UsagePercent float32 + func (*Cpu) Descriptor() ([]byte, []int) + func (*Cpu) ProtoMessage() + func (x *Cpu) GetUsagePercent() float32 + func (x *Cpu) ProtoReflect() protoreflect.Message + func (x *Cpu) Reset() + func (x *Cpu) String() string + type Host struct + Cpu *Cpu + HostInfo *HostInfo + Memory *Memory + func (*Host) Descriptor() ([]byte, []int) + func (*Host) ProtoMessage() + func (x *Host) GetCpu() *Cpu + func (x *Host) GetHostInfo() *HostInfo + func (x *Host) GetMemory() *Memory + func (x *Host) ProtoReflect() protoreflect.Message + func (x *Host) Reset() + func (x *Host) String() string + type HostInfo struct + BootTime uint64 + HostID string + Hostname string + KernelArch string + KernelVersion string + OS string + Platform string + PlatformFamily string + PlatformVersion string + Procs uint64 + Uptime uint64 + VirtualizationRole string + VirtualizationSystem string + func (*HostInfo) Descriptor() ([]byte, []int) + func (*HostInfo) ProtoMessage() + func (x *HostInfo) GetBootTime() uint64 + func (x *HostInfo) GetHostID() string + func (x *HostInfo) GetHostname() string + func (x *HostInfo) GetKernelArch() string + func (x *HostInfo) GetKernelVersion() string + func (x *HostInfo) GetOS() string + func (x *HostInfo) GetPlatform() string + func (x *HostInfo) GetPlatformFamily() string + func (x *HostInfo) GetPlatformVersion() string + func (x *HostInfo) GetProcs() uint64 + func (x *HostInfo) GetUptime() uint64 + func (x *HostInfo) GetVirtualizationRole() string + func (x *HostInfo) GetVirtualizationSystem() string + func (x *HostInfo) ProtoReflect() protoreflect.Message + func (x *HostInfo) Reset() + func (x *HostInfo) String() string + type ListenerClient interface + CurrentStatus func(ctx context.Context, in *MonitorRequest, opts ...grpc.CallOption) (*MonitorResponse, error) + ListServices func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ServicesResponse, error) + Monitor func(ctx context.Context, in *MonitorRequest, opts ...grpc.CallOption) (Listener_MonitorClient, error) + func NewListenerClient(cc grpc.ClientConnInterface) ListenerClient + type ListenerServer interface + CurrentStatus func(context.Context, *MonitorRequest) (*MonitorResponse, error) + ListServices func(context.Context, *emptypb.Empty) (*ServicesResponse, error) + Monitor func(*MonitorRequest, Listener_MonitorServer) error + type Listener_MonitorClient interface + Recv func() (*MonitorResponse, error) + type Listener_MonitorServer interface + Send func(*MonitorResponse) error + type Memory struct + Total uint64 + TotalString string + Usage uint64 + UsagePercent float32 + UsageString string + func (*Memory) Descriptor() ([]byte, []int) + func (*Memory) ProtoMessage() + func (x *Memory) GetTotal() uint64 + func (x *Memory) GetTotalString() string + func (x *Memory) GetUsage() uint64 + func (x *Memory) GetUsagePercent() float32 + func (x *Memory) GetUsageString() string + func (x *Memory) ProtoReflect() protoreflect.Message + func (x *Memory) Reset() + func (x *Memory) String() string + type MonitorRequest struct + DisableHostInfo bool + func (*MonitorRequest) Descriptor() ([]byte, []int) + func (*MonitorRequest) ProtoMessage() + func (x *MonitorRequest) GetDisableHostInfo() bool + func (x *MonitorRequest) ProtoReflect() protoreflect.Message + func (x *MonitorRequest) Reset() + func (x *MonitorRequest) String() string + type MonitorResponse struct + Host *Host + RateLimit []*RateLimit + Services *Services + ServicesName string + Time int64 + func (*MonitorResponse) Descriptor() ([]byte, []int) + func (*MonitorResponse) ProtoMessage() + func (x *MonitorResponse) GetHost() *Host + func (x *MonitorResponse) GetRateLimit() []*RateLimit + func (x *MonitorResponse) GetServices() *Services + func (x *MonitorResponse) GetServicesName() string + func (x *MonitorResponse) GetTime() int64 + func (x *MonitorResponse) ProtoReflect() protoreflect.Message + func (x *MonitorResponse) Reset() + func (x *MonitorResponse) String() string + type ParameterFunction struct + Name string + Recv string + Send string + func (*ParameterFunction) Descriptor() ([]byte, []int) + func (*ParameterFunction) ProtoMessage() + func (x *ParameterFunction) GetName() string + func (x *ParameterFunction) GetRecv() string + func (x *ParameterFunction) GetSend() string + func (x *ParameterFunction) ProtoReflect() protoreflect.Message + func (x *ParameterFunction) Reset() + func (x *ParameterFunction) String() string + type RateLimit struct + Alias string + Current int64 + ID string + Limit float64 + Type string + func (*RateLimit) Descriptor() ([]byte, []int) + func (*RateLimit) ProtoMessage() + func (x *RateLimit) GetAlias() string + func (x *RateLimit) GetCurrent() int64 + func (x *RateLimit) GetID() string + func (x *RateLimit) GetLimit() float64 + func (x *RateLimit) GetType() string + func (x *RateLimit) ProtoReflect() protoreflect.Message + func (x *RateLimit) Reset() + func (x *RateLimit) String() string + type RouterListener struct + AutoReloadPemDir bool + Listen string + Name string + Pem string + Port int32 + Secure bool + Vault *Vault + func (*RouterListener) Descriptor() ([]byte, []int) + func (*RouterListener) ProtoMessage() + func (x *RouterListener) GetAutoReloadPemDir() bool + func (x *RouterListener) GetListen() string + func (x *RouterListener) GetName() string + func (x *RouterListener) GetPem() string + func (x *RouterListener) GetPort() int32 + func (x *RouterListener) GetSecure() bool + func (x *RouterListener) GetVault() *Vault + func (x *RouterListener) ProtoReflect() protoreflect.Message + func (x *RouterListener) Reset() + func (x *RouterListener) String() string + type Services struct + Cpu *Cpu + Memory *Memory + NumGoroutine int32 + Pid int32 + Runtime string + ServicesInfo *ServicesInfo + func (*Services) Descriptor() ([]byte, []int) + func (*Services) ProtoMessage() + func (x *Services) GetCpu() *Cpu + func (x *Services) GetMemory() *Memory + func (x *Services) GetNumGoroutine() int32 + func (x *Services) GetPid() int32 + func (x *Services) GetRuntime() string + func (x *Services) GetServicesInfo() *ServicesInfo + func (x *Services) ProtoReflect() protoreflect.Message + func (x *Services) Reset() + func (x *Services) String() string + type ServicesInfo struct + BuildTime string + Compiler string + GitCommit string + GoVersion string + Version string + func (*ServicesInfo) Descriptor() ([]byte, []int) + func (*ServicesInfo) ProtoMessage() + func (x *ServicesInfo) GetBuildTime() string + func (x *ServicesInfo) GetCompiler() string + func (x *ServicesInfo) GetGitCommit() string + func (x *ServicesInfo) GetGoVersion() string + func (x *ServicesInfo) GetVersion() string + func (x *ServicesInfo) ProtoReflect() protoreflect.Message + func (x *ServicesInfo) Reset() + func (x *ServicesInfo) String() string + type ServicesItems struct + ClientStream bool + FullMethod string + HttpTranslator []string + Input []*ParameterFunction + Method string + Output []*ParameterFunction + ProtoReference string + ServerStream bool + Service string + func (*ServicesItems) Descriptor() ([]byte, []int) + func (*ServicesItems) ProtoMessage() + func (x *ServicesItems) GetClientStream() bool + func (x *ServicesItems) GetFullMethod() string + func (x *ServicesItems) GetHttpTranslator() []string + func (x *ServicesItems) GetInput() []*ParameterFunction + func (x *ServicesItems) GetMethod() string + func (x *ServicesItems) GetOutput() []*ParameterFunction + func (x *ServicesItems) GetProtoReference() string + func (x *ServicesItems) GetServerStream() bool + func (x *ServicesItems) GetService() string + func (x *ServicesItems) ProtoReflect() protoreflect.Message + func (x *ServicesItems) Reset() + func (x *ServicesItems) String() string + type ServicesResponse struct + Methods []*ServicesItems + func (*ServicesResponse) Descriptor() ([]byte, []int) + func (*ServicesResponse) ProtoMessage() + func (x *ServicesResponse) GetMethods() []*ServicesItems + func (x *ServicesResponse) ProtoReflect() protoreflect.Message + func (x *ServicesResponse) Reset() + func (x *ServicesResponse) String() string + type UnimplementedListenerServer struct + func (UnimplementedListenerServer) CurrentStatus(context.Context, *MonitorRequest) (*MonitorResponse, error) + func (UnimplementedListenerServer) ListServices(context.Context, *emptypb.Empty) (*ServicesResponse, error) + func (UnimplementedListenerServer) Monitor(*MonitorRequest, Listener_MonitorServer) error + type UnsafeListenerServer interface + type Vault struct + Address string + Keys []string + Name string + Token string + func (*Vault) Descriptor() ([]byte, []int) + func (*Vault) ProtoMessage() + func (x *Vault) GetAddress() string + func (x *Vault) GetKeys() []string + func (x *Vault) GetName() string + func (x *Vault) GetToken() string + func (x *Vault) ProtoReflect() protoreflect.Message + func (x *Vault) Reset() + func (x *Vault) String() string