Documentation
¶
Index ¶
- Variables
- func RegisterListenerServer(s grpc.ServiceRegistrar, srv ListenerServer)
- type Cpu
- type Host
- type HostInfo
- func (*HostInfo) Descriptor() ([]byte, []int)deprecated
- 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 (*HostInfo) ProtoMessage()
- func (x *HostInfo) ProtoReflect() protoreflect.Message
- func (x *HostInfo) Reset()
- func (x *HostInfo) String() string
- type ListenerClient
- type ListenerServer
- type Listener_MonitorClient
- type Listener_MonitorServer
- type Memory
- func (*Memory) Descriptor() ([]byte, []int)deprecated
- 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 (*Memory) ProtoMessage()
- func (x *Memory) ProtoReflect() protoreflect.Message
- func (x *Memory) Reset()
- func (x *Memory) String() string
- type MonitorRequest
- type MonitorResponse
- func (*MonitorResponse) Descriptor() ([]byte, []int)deprecated
- 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 (*MonitorResponse) ProtoMessage()
- func (x *MonitorResponse) ProtoReflect() protoreflect.Message
- func (x *MonitorResponse) Reset()
- func (x *MonitorResponse) String() string
- type ParameterFunction
- func (*ParameterFunction) Descriptor() ([]byte, []int)deprecated
- func (x *ParameterFunction) GetName() string
- func (x *ParameterFunction) GetRecv() string
- func (x *ParameterFunction) GetSend() string
- func (*ParameterFunction) ProtoMessage()
- func (x *ParameterFunction) ProtoReflect() protoreflect.Message
- func (x *ParameterFunction) Reset()
- func (x *ParameterFunction) String() string
- type RateLimit
- func (*RateLimit) Descriptor() ([]byte, []int)deprecated
- 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 (*RateLimit) ProtoMessage()
- func (x *RateLimit) ProtoReflect() protoreflect.Message
- func (x *RateLimit) Reset()
- func (x *RateLimit) String() string
- type RouterListener
- func (*RouterListener) Descriptor() ([]byte, []int)deprecated
- 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 (*RouterListener) ProtoMessage()
- func (x *RouterListener) ProtoReflect() protoreflect.Message
- func (x *RouterListener) Reset()
- func (x *RouterListener) String() string
- type Services
- func (*Services) Descriptor() ([]byte, []int)deprecated
- 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 (*Services) ProtoMessage()
- func (x *Services) ProtoReflect() protoreflect.Message
- func (x *Services) Reset()
- func (x *Services) String() string
- type ServicesInfo
- func (*ServicesInfo) Descriptor() ([]byte, []int)deprecated
- 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 (*ServicesInfo) ProtoMessage()
- func (x *ServicesInfo) ProtoReflect() protoreflect.Message
- func (x *ServicesInfo) Reset()
- func (x *ServicesInfo) String() string
- type ServicesItems
- func (*ServicesItems) Descriptor() ([]byte, []int)deprecated
- 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 (*ServicesItems) ProtoMessage()
- func (x *ServicesItems) ProtoReflect() protoreflect.Message
- func (x *ServicesItems) Reset()
- func (x *ServicesItems) String() string
- type ServicesResponse
- func (*ServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesResponse) GetMethods() []*ServicesItems
- func (*ServicesResponse) ProtoMessage()
- func (x *ServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ServicesResponse) Reset()
- func (x *ServicesResponse) String() string
- type UnimplementedListenerServer
- 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
- type Vault
- func (*Vault) Descriptor() ([]byte, []int)deprecated
- func (x *Vault) GetAddress() string
- func (x *Vault) GetKeys() []string
- func (x *Vault) GetName() string
- func (x *Vault) GetToken() string
- func (*Vault) ProtoMessage()
- func (x *Vault) ProtoReflect() protoreflect.Message
- func (x *Vault) Reset()
- func (x *Vault) String() string
Constants ¶
This section is empty.
Variables ¶
var Listener_ServiceDesc = grpc.ServiceDesc{ ServiceName: "services.Listener", HandlerType: (*ListenerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListServices", Handler: _Listener_ListServices_Handler, }, { MethodName: "CurrentStatus", Handler: _Listener_CurrentStatus_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "Monitor", Handler: _Listener_Monitor_Handler, ServerStreams: true, }, }, Metadata: "shared/proto/listener.proto", }
Listener_ServiceDesc is the grpc.ServiceDesc for Listener service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterListenerServer ¶
func RegisterListenerServer(s grpc.ServiceRegistrar, srv ListenerServer)
Types ¶
type Cpu ¶
type Cpu struct { UsagePercent float32 `protobuf:"fixed32,1,opt,name=UsagePercent,proto3" json:"usagePercent,omitempty"` // @gotags: json:"usagePercent,omitempty" // contains filtered or unexported fields }
func (*Cpu) Descriptor
deprecated
func (*Cpu) GetUsagePercent ¶
func (*Cpu) ProtoMessage ¶
func (*Cpu) ProtoMessage()
func (*Cpu) ProtoReflect ¶
func (x *Cpu) ProtoReflect() protoreflect.Message
type Host ¶
type Host struct { Cpu *Cpu `protobuf:"bytes,1,opt,name=Cpu,proto3" json:"cpu,omitempty"` // @gotags: json:"cpu,omitempty" Memory *Memory `protobuf:"bytes,2,opt,name=Memory,proto3" json:"memory,omitempty"` // @gotags: json:"memory,omitempty" HostInfo *HostInfo `protobuf:"bytes,3,opt,name=HostInfo,proto3" json:"hostInfo,omitempty"` // @gotags: json:"hostInfo,omitempty" // contains filtered or unexported fields }
func (*Host) Descriptor
deprecated
func (*Host) GetHostInfo ¶
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
type HostInfo ¶
type HostInfo struct { Hostname string `protobuf:"bytes,1,opt,name=Hostname,proto3" json:"hostname,omitempty"` // @gotags: json:"hostname,omitempty" Uptime uint64 `protobuf:"varint,2,opt,name=Uptime,proto3" json:"uptime,omitempty"` // @gotags: json:"uptime,omitempty" BootTime uint64 `protobuf:"varint,3,opt,name=BootTime,proto3" json:"bootTime,omitempty"` // @gotags: json:"bootTime,omitempty" Procs uint64 `protobuf:"varint,4,opt,name=Procs,proto3" json:"procs,omitempty"` // @gotags: json:"procs,omitempty" OS string `protobuf:"bytes,5,opt,name=OS,proto3" json:"os,omitempty"` // @gotags: json:"os,omitempty" Platform string `protobuf:"bytes,6,opt,name=Platform,proto3" json:"platform,omitempty"` // @gotags: json:"platform,omitempty" PlatformFamily string `protobuf:"bytes,7,opt,name=PlatformFamily,proto3" json:"platformFamily,omitempty"` // @gotags: json:"platformFamily,omitempty" PlatformVersion string `protobuf:"bytes,8,opt,name=PlatformVersion,proto3" json:"platformVersion,omitempty"` // @gotags: json:"platformVersion,omitempty" KernelVersion string `protobuf:"bytes,9,opt,name=KernelVersion,proto3" json:"kernelVersion,omitempty"` // @gotags: json:"kernelVersion,omitempty" KernelArch string `protobuf:"bytes,10,opt,name=KernelArch,proto3" json:"kernelArch,omitempty"` // @gotags: json:"kernelArch,omitempty" VirtualizationSystem string `protobuf:"bytes,11,opt,name=VirtualizationSystem,proto3" json:"virtualizationSystem,omitempty"` // @gotags: json:"virtualizationSystem,omitempty" VirtualizationRole string `protobuf:"bytes,12,opt,name=VirtualizationRole,proto3" json:"virtualizationRole,omitempty"` // @gotags: json:"virtualizationRole,omitempty" HostID string `protobuf:"bytes,13,opt,name=HostID,proto3" json:"hostID,omitempty"` // @gotags: json:"hostID,omitempty" // contains filtered or unexported fields }
func (*HostInfo) Descriptor
deprecated
func (*HostInfo) GetBootTime ¶
func (*HostInfo) GetHostname ¶
func (*HostInfo) GetKernelArch ¶
func (*HostInfo) GetKernelVersion ¶
func (*HostInfo) GetPlatform ¶
func (*HostInfo) GetPlatformFamily ¶
func (*HostInfo) GetPlatformVersion ¶
func (*HostInfo) GetVirtualizationRole ¶
func (*HostInfo) GetVirtualizationSystem ¶
func (*HostInfo) ProtoMessage ¶
func (*HostInfo) ProtoMessage()
func (*HostInfo) ProtoReflect ¶
func (x *HostInfo) ProtoReflect() protoreflect.Message
type ListenerClient ¶
type ListenerClient interface { Monitor(ctx context.Context, in *MonitorRequest, opts ...grpc.CallOption) (Listener_MonitorClient, error) ListServices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ServicesResponse, error) CurrentStatus(ctx context.Context, in *MonitorRequest, opts ...grpc.CallOption) (*MonitorResponse, error) }
ListenerClient is the client API for Listener service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewListenerClient ¶
func NewListenerClient(cc grpc.ClientConnInterface) ListenerClient
type ListenerServer ¶
type ListenerServer interface { Monitor(*MonitorRequest, Listener_MonitorServer) error ListServices(context.Context, *emptypb.Empty) (*ServicesResponse, error) CurrentStatus(context.Context, *MonitorRequest) (*MonitorResponse, error) // contains filtered or unexported methods }
ListenerServer is the server API for Listener service. All implementations must embed UnimplementedListenerServer for forward compatibility
type Listener_MonitorClient ¶
type Listener_MonitorClient interface { Recv() (*MonitorResponse, error) grpc.ClientStream }
type Listener_MonitorServer ¶
type Listener_MonitorServer interface { Send(*MonitorResponse) error grpc.ServerStream }
type Memory ¶
type Memory struct { Total uint64 `protobuf:"varint,1,opt,name=Total,proto3" json:"total,omitempty"` // @gotags: json:"total,omitempty" TotalString string `protobuf:"bytes,2,opt,name=TotalString,proto3" json:"totalString,omitempty"` // @gotags: json:"totalString,omitempty" Usage uint64 `protobuf:"varint,3,opt,name=Usage,proto3" json:"usage,omitempty"` // @gotags: json:"usage,omitempty" UsageString string `protobuf:"bytes,4,opt,name=UsageString,proto3" json:"usageString,omitempty"` // @gotags: json:"usageString,omitempty" UsagePercent float32 `protobuf:"fixed32,5,opt,name=UsagePercent,proto3" json:"usagePercent,omitempty"` // @gotags: json:"usagePercent,omitempty" // contains filtered or unexported fields }
func (*Memory) Descriptor
deprecated
func (*Memory) GetTotalString ¶
func (*Memory) GetUsagePercent ¶
func (*Memory) GetUsageString ¶
func (*Memory) ProtoMessage ¶
func (*Memory) ProtoMessage()
func (*Memory) ProtoReflect ¶
func (x *Memory) ProtoReflect() protoreflect.Message
type MonitorRequest ¶
type MonitorRequest struct { DisableHostInfo bool `protobuf:"varint,1,opt,name=DisableHostInfo,proto3" json:"DisableHostInfo,omitempty"` // contains filtered or unexported fields }
Monitor sections
func (*MonitorRequest) Descriptor
deprecated
func (*MonitorRequest) Descriptor() ([]byte, []int)
Deprecated: Use MonitorRequest.ProtoReflect.Descriptor instead.
func (*MonitorRequest) GetDisableHostInfo ¶
func (x *MonitorRequest) GetDisableHostInfo() bool
func (*MonitorRequest) ProtoMessage ¶
func (*MonitorRequest) ProtoMessage()
func (*MonitorRequest) ProtoReflect ¶
func (x *MonitorRequest) ProtoReflect() protoreflect.Message
func (*MonitorRequest) Reset ¶
func (x *MonitorRequest) Reset()
func (*MonitorRequest) String ¶
func (x *MonitorRequest) String() string
type MonitorResponse ¶
type MonitorResponse struct { ServicesName string `protobuf:"bytes,1,opt,name=ServicesName,proto3" json:"servicesName,omitempty"` // @gotags: json:"servicesName,omitempty" Time int64 `protobuf:"varint,2,opt,name=Time,proto3" json:"time,omitempty"` // @gotags: json:"time,omitempty" Host *Host `protobuf:"bytes,3,opt,name=Host,proto3" json:"host,omitempty"` // @gotags: json:"host,omitempty" Services *Services `protobuf:"bytes,4,opt,name=Services,proto3" json:"services,omitempty"` // @gotags: json:"services,omitempty" RateLimit []*RateLimit `protobuf:"bytes,5,rep,name=RateLimit,proto3" json:"rateLimit,omitempty"` // @gotags: json:"rateLimit,omitempty" // contains filtered or unexported fields }
func (*MonitorResponse) Descriptor
deprecated
func (*MonitorResponse) Descriptor() ([]byte, []int)
Deprecated: Use MonitorResponse.ProtoReflect.Descriptor instead.
func (*MonitorResponse) GetHost ¶
func (x *MonitorResponse) GetHost() *Host
func (*MonitorResponse) GetRateLimit ¶
func (x *MonitorResponse) GetRateLimit() []*RateLimit
func (*MonitorResponse) GetServices ¶
func (x *MonitorResponse) GetServices() *Services
func (*MonitorResponse) GetServicesName ¶
func (x *MonitorResponse) GetServicesName() string
func (*MonitorResponse) GetTime ¶
func (x *MonitorResponse) GetTime() int64
func (*MonitorResponse) ProtoMessage ¶
func (*MonitorResponse) ProtoMessage()
func (*MonitorResponse) ProtoReflect ¶
func (x *MonitorResponse) ProtoReflect() protoreflect.Message
func (*MonitorResponse) Reset ¶
func (x *MonitorResponse) Reset()
func (*MonitorResponse) String ¶
func (x *MonitorResponse) String() string
type ParameterFunction ¶
type ParameterFunction struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty"` Send string `protobuf:"bytes,2,opt,name=Send,proto3" json:"Send,omitempty"` Recv string `protobuf:"bytes,3,opt,name=Recv,proto3" json:"Recv,omitempty"` // contains filtered or unexported fields }
func (*ParameterFunction) Descriptor
deprecated
func (*ParameterFunction) Descriptor() ([]byte, []int)
Deprecated: Use ParameterFunction.ProtoReflect.Descriptor instead.
func (*ParameterFunction) GetName ¶
func (x *ParameterFunction) GetName() string
func (*ParameterFunction) GetRecv ¶
func (x *ParameterFunction) GetRecv() string
func (*ParameterFunction) GetSend ¶
func (x *ParameterFunction) GetSend() string
func (*ParameterFunction) ProtoMessage ¶
func (*ParameterFunction) ProtoMessage()
func (*ParameterFunction) ProtoReflect ¶
func (x *ParameterFunction) ProtoReflect() protoreflect.Message
func (*ParameterFunction) Reset ¶
func (x *ParameterFunction) Reset()
func (*ParameterFunction) String ¶
func (x *ParameterFunction) String() string
type RateLimit ¶
type RateLimit struct { ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` Alias string `protobuf:"bytes,2,opt,name=Alias,proto3" json:"Alias,omitempty"` Type string `protobuf:"bytes,3,opt,name=Type,proto3" json:"Type,omitempty"` Limit float64 `protobuf:"fixed64,4,opt,name=Limit,proto3" json:"Limit,omitempty"` Current int64 `protobuf:"varint,5,opt,name=Current,proto3" json:"Current,omitempty"` // contains filtered or unexported fields }
func (*RateLimit) Descriptor
deprecated
func (*RateLimit) GetCurrent ¶
func (*RateLimit) ProtoMessage ¶
func (*RateLimit) ProtoMessage()
func (*RateLimit) ProtoReflect ¶
func (x *RateLimit) ProtoReflect() protoreflect.Message
type RouterListener ¶
type RouterListener struct { Name string `` // @gotags: yaml:"name" validate:"required" gorm:"column:name;primaryKey" mapstructure:"name" /* 143-byte string literal not displayed */ Pem string `protobuf:"bytes,2,opt,name=Pem,proto3" json:"Pem,omitempty" yaml:"pem" gorm:"column:pem" mapstructure:"pem"` // @gotags: yaml:"pem" gorm:"column:pem" mapstructure:"pem" Port int32 `` // @gotags: yaml:"port" validate:"required,min=1,max=65535" gorm:"column:port" mapstructure:"port" /* 149-byte string literal not displayed */ Listen string `` // @gotags: yaml:"listen" validate:"required,hostname_rfc1123" gorm:"column:listen" mapstructure:"listen" /* 159-byte string literal not displayed */ Secure bool `protobuf:"varint,5,opt,name=Secure,proto3" json:"Secure,omitempty" yaml:"secure" gorm:"column:secure" mapstructure:"secure"` // @gotags: yaml:"secure" gorm:"column:secure" mapstructure:"secure" AutoReloadPemDir bool `` // @gotags: yaml:"autoReloadPemDir" gorm:"column:autoReloadPemDir" mapstructure:"autoReloadPemDir" /* 173-byte string literal not displayed */ Vault *Vault `protobuf:"bytes,7,opt,name=Vault,proto3" json:"Vault,omitempty" yaml:"vault" gorm:"-" mapstructure:"-"` // @gotags: yaml:"vault" gorm:"-" mapstructure:"-" // contains filtered or unexported fields }
func (*RouterListener) Descriptor
deprecated
func (*RouterListener) Descriptor() ([]byte, []int)
Deprecated: Use RouterListener.ProtoReflect.Descriptor instead.
func (*RouterListener) GetAutoReloadPemDir ¶
func (x *RouterListener) GetAutoReloadPemDir() bool
func (*RouterListener) GetListen ¶
func (x *RouterListener) GetListen() string
func (*RouterListener) GetName ¶
func (x *RouterListener) GetName() string
func (*RouterListener) GetPem ¶
func (x *RouterListener) GetPem() string
func (*RouterListener) GetPort ¶
func (x *RouterListener) GetPort() int32
func (*RouterListener) GetSecure ¶
func (x *RouterListener) GetSecure() bool
func (*RouterListener) GetVault ¶
func (x *RouterListener) GetVault() *Vault
func (*RouterListener) ProtoMessage ¶
func (*RouterListener) ProtoMessage()
func (*RouterListener) ProtoReflect ¶
func (x *RouterListener) ProtoReflect() protoreflect.Message
func (*RouterListener) Reset ¶
func (x *RouterListener) Reset()
func (*RouterListener) String ¶
func (x *RouterListener) String() string
type Services ¶
type Services struct { Runtime string `protobuf:"bytes,1,opt,name=Runtime,proto3" json:"runtime,omitempty"` // @gotags: json:"runtime,omitempty" NumGoroutine int32 `protobuf:"varint,2,opt,name=NumGoroutine,proto3" json:"numGoroutine,omitempty"` // @gotags: json:"numGoroutine,omitempty" Pid int32 `protobuf:"varint,3,opt,name=Pid,proto3" json:"pid,omitempty"` // @gotags: json:"pid,omitempty" Cpu *Cpu `protobuf:"bytes,4,opt,name=Cpu,proto3" json:"cpu,omitempty"` // @gotags: json:"cpu,omitempty" Memory *Memory `protobuf:"bytes,5,opt,name=Memory,proto3" json:"memory,omitempty"` // @gotags: json:"memory,omitempty" ServicesInfo *ServicesInfo `protobuf:"bytes,6,opt,name=ServicesInfo,proto3" json:"servicesInfo,omitempty"` // @gotags: json:"servicesInfo,omitempty" // contains filtered or unexported fields }
func (*Services) Descriptor
deprecated
func (*Services) GetNumGoroutine ¶
func (*Services) GetRuntime ¶
func (*Services) GetServicesInfo ¶
func (x *Services) GetServicesInfo() *ServicesInfo
func (*Services) ProtoMessage ¶
func (*Services) ProtoMessage()
func (*Services) ProtoReflect ¶
func (x *Services) ProtoReflect() protoreflect.Message
type ServicesInfo ¶
type ServicesInfo struct { Version string `protobuf:"bytes,1,opt,name=Version,proto3" json:"version,omitempty"` // @gotags: json:"version,omitempty" GitCommit string `protobuf:"bytes,2,opt,name=GitCommit,proto3" json:"gitCommit,omitempty"` // @gotags: json:"gitCommit,omitempty" GoVersion string `protobuf:"bytes,3,opt,name=GoVersion,proto3" json:"goVersion,omitempty"` // @gotags: json:"goVersion,omitempty" Compiler string `protobuf:"bytes,4,opt,name=Compiler,proto3" json:"compiler,omitempty"` // @gotags: json:"compiler,omitempty" BuildTime string `protobuf:"bytes,5,opt,name=BuildTime,proto3" json:"buildTime,omitempty"` // @gotags: json:"buildTime,omitempty" // contains filtered or unexported fields }
func (*ServicesInfo) Descriptor
deprecated
func (*ServicesInfo) Descriptor() ([]byte, []int)
Deprecated: Use ServicesInfo.ProtoReflect.Descriptor instead.
func (*ServicesInfo) GetBuildTime ¶
func (x *ServicesInfo) GetBuildTime() string
func (*ServicesInfo) GetCompiler ¶
func (x *ServicesInfo) GetCompiler() string
func (*ServicesInfo) GetGitCommit ¶
func (x *ServicesInfo) GetGitCommit() string
func (*ServicesInfo) GetGoVersion ¶
func (x *ServicesInfo) GetGoVersion() string
func (*ServicesInfo) GetVersion ¶
func (x *ServicesInfo) GetVersion() string
func (*ServicesInfo) ProtoMessage ¶
func (*ServicesInfo) ProtoMessage()
func (*ServicesInfo) ProtoReflect ¶
func (x *ServicesInfo) ProtoReflect() protoreflect.Message
func (*ServicesInfo) Reset ¶
func (x *ServicesInfo) Reset()
func (*ServicesInfo) String ¶
func (x *ServicesInfo) String() string
type ServicesItems ¶
type ServicesItems struct { Service string `protobuf:"bytes,1,opt,name=Service,proto3" json:"Service,omitempty"` Method string `protobuf:"bytes,2,opt,name=Method,proto3" json:"Method,omitempty"` FullMethod string `protobuf:"bytes,3,opt,name=FullMethod,proto3" json:"FullMethod,omitempty"` HttpTranslator []string `protobuf:"bytes,4,rep,name=HttpTranslator,proto3" json:"HttpTranslator,omitempty"` Input []*ParameterFunction `protobuf:"bytes,5,rep,name=Input,proto3" json:"Input,omitempty"` Output []*ParameterFunction `protobuf:"bytes,6,rep,name=Output,proto3" json:"Output,omitempty"` ServerStream bool `protobuf:"varint,7,opt,name=ServerStream,proto3" json:"ServerStream,omitempty"` ClientStream bool `protobuf:"varint,8,opt,name=ClientStream,proto3" json:"ClientStream,omitempty"` ProtoReference string `protobuf:"bytes,9,opt,name=ProtoReference,proto3" json:"ProtoReference,omitempty"` // contains filtered or unexported fields }
func (*ServicesItems) Descriptor
deprecated
func (*ServicesItems) Descriptor() ([]byte, []int)
Deprecated: Use ServicesItems.ProtoReflect.Descriptor instead.
func (*ServicesItems) GetClientStream ¶
func (x *ServicesItems) GetClientStream() bool
func (*ServicesItems) GetFullMethod ¶
func (x *ServicesItems) GetFullMethod() string
func (*ServicesItems) GetHttpTranslator ¶
func (x *ServicesItems) GetHttpTranslator() []string
func (*ServicesItems) GetInput ¶
func (x *ServicesItems) GetInput() []*ParameterFunction
func (*ServicesItems) GetMethod ¶
func (x *ServicesItems) GetMethod() string
func (*ServicesItems) GetOutput ¶
func (x *ServicesItems) GetOutput() []*ParameterFunction
func (*ServicesItems) GetProtoReference ¶
func (x *ServicesItems) GetProtoReference() string
func (*ServicesItems) GetServerStream ¶
func (x *ServicesItems) GetServerStream() bool
func (*ServicesItems) GetService ¶
func (x *ServicesItems) GetService() string
func (*ServicesItems) ProtoMessage ¶
func (*ServicesItems) ProtoMessage()
func (*ServicesItems) ProtoReflect ¶
func (x *ServicesItems) ProtoReflect() protoreflect.Message
func (*ServicesItems) Reset ¶
func (x *ServicesItems) Reset()
func (*ServicesItems) String ¶
func (x *ServicesItems) String() string
type ServicesResponse ¶
type ServicesResponse struct { Methods []*ServicesItems `protobuf:"bytes,1,rep,name=Methods,proto3" json:"Methods,omitempty"` // contains filtered or unexported fields }
func (*ServicesResponse) Descriptor
deprecated
func (*ServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServicesResponse.ProtoReflect.Descriptor instead.
func (*ServicesResponse) GetMethods ¶
func (x *ServicesResponse) GetMethods() []*ServicesItems
func (*ServicesResponse) ProtoMessage ¶
func (*ServicesResponse) ProtoMessage()
func (*ServicesResponse) ProtoReflect ¶
func (x *ServicesResponse) ProtoReflect() protoreflect.Message
func (*ServicesResponse) Reset ¶
func (x *ServicesResponse) Reset()
func (*ServicesResponse) String ¶
func (x *ServicesResponse) String() string
type UnimplementedListenerServer ¶
type UnimplementedListenerServer struct { }
UnimplementedListenerServer must be embedded to have forward compatible implementations.
func (UnimplementedListenerServer) CurrentStatus ¶
func (UnimplementedListenerServer) CurrentStatus(context.Context, *MonitorRequest) (*MonitorResponse, error)
func (UnimplementedListenerServer) ListServices ¶
func (UnimplementedListenerServer) ListServices(context.Context, *emptypb.Empty) (*ServicesResponse, error)
func (UnimplementedListenerServer) Monitor ¶
func (UnimplementedListenerServer) Monitor(*MonitorRequest, Listener_MonitorServer) error
type UnsafeListenerServer ¶
type UnsafeListenerServer interface {
// contains filtered or unexported methods
}
UnsafeListenerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ListenerServer will result in compilation errors.
type Vault ¶
type Vault struct { Name string `protobuf:"bytes,1,opt,name=Name,proto3" json:"Name,omitempty" yaml:"name"` // @gotags: yaml:"name" Address string `protobuf:"bytes,2,opt,name=Address,proto3" json:"Address,omitempty" yaml:"address"` // @gotags: yaml:"address" Token string `protobuf:"bytes,3,opt,name=Token,proto3" json:"Token,omitempty" yaml:"token"` // @gotags: yaml:"token" Keys []string `protobuf:"bytes,4,rep,name=Keys,proto3" json:"Keys,omitempty" yaml:"keys"` // @gotags: yaml:"keys" // contains filtered or unexported fields }
func (*Vault) Descriptor
deprecated
func (*Vault) GetAddress ¶
func (*Vault) ProtoMessage ¶
func (*Vault) ProtoMessage()
func (*Vault) ProtoReflect ¶
func (x *Vault) ProtoReflect() protoreflect.Message