Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterIpcServiceServer(s grpc.ServiceRegistrar, srv IpcServiceServer)
- type IpcServiceClient
- type IpcServiceServer
- type ReloadConfigurationRequest
- func (*ReloadConfigurationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReloadConfigurationRequest) GetModule() string
- func (*ReloadConfigurationRequest) ProtoMessage()
- func (x *ReloadConfigurationRequest) ProtoReflect() protoreflect.Message
- func (x *ReloadConfigurationRequest) Reset()
- func (x *ReloadConfigurationRequest) String() string
- type Service
- type UnimplementedIpcServiceServer
- type UnsafeIpcServiceServer
Constants ¶
const (
IpcService_ReloadConfiguration_FullMethodName = "/ipc.v1.IpcService/ReloadConfiguration"
)
Variables ¶
var File_ipc_proto protoreflect.FileDescriptor
var IpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "ipc.v1.IpcService", HandlerType: (*IpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ReloadConfiguration", Handler: _IpcService_ReloadConfiguration_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "ipc.proto", }
IpcService_ServiceDesc is the grpc.ServiceDesc for IpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterIpcServiceServer ¶
func RegisterIpcServiceServer(s grpc.ServiceRegistrar, srv IpcServiceServer)
Types ¶
type IpcServiceClient ¶
type IpcServiceClient interface {
ReloadConfiguration(ctx context.Context, in *ReloadConfigurationRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}
IpcServiceClient is the client API for IpcService 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 NewIpcServiceClient ¶
func NewIpcServiceClient(cc grpc.ClientConnInterface) IpcServiceClient
type IpcServiceServer ¶
type IpcServiceServer interface { ReloadConfiguration(context.Context, *ReloadConfigurationRequest) (*emptypb.Empty, error) // contains filtered or unexported methods }
IpcServiceServer is the server API for IpcService service. All implementations must embed UnimplementedIpcServiceServer for forward compatibility.
type ReloadConfigurationRequest ¶
type ReloadConfigurationRequest struct { Module string `protobuf:"bytes,1,opt,name=module,proto3" json:"module,omitempty"` // contains filtered or unexported fields }
func (*ReloadConfigurationRequest) Descriptor
deprecated
func (*ReloadConfigurationRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReloadConfigurationRequest.ProtoReflect.Descriptor instead.
func (*ReloadConfigurationRequest) GetModule ¶
func (x *ReloadConfigurationRequest) GetModule() string
func (*ReloadConfigurationRequest) ProtoMessage ¶
func (*ReloadConfigurationRequest) ProtoMessage()
func (*ReloadConfigurationRequest) ProtoReflect ¶
func (x *ReloadConfigurationRequest) ProtoReflect() protoreflect.Message
func (*ReloadConfigurationRequest) Reset ¶
func (x *ReloadConfigurationRequest) Reset()
func (*ReloadConfigurationRequest) String ¶
func (x *ReloadConfigurationRequest) String() string
type Service ¶
type Service struct { UnimplementedIpcServiceServer // contains filtered or unexported fields }
func (*Service) ReloadConfiguration ¶
type UnimplementedIpcServiceServer ¶
type UnimplementedIpcServiceServer struct{}
UnimplementedIpcServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedIpcServiceServer) ReloadConfiguration ¶
func (UnimplementedIpcServiceServer) ReloadConfiguration(context.Context, *ReloadConfigurationRequest) (*emptypb.Empty, error)
type UnsafeIpcServiceServer ¶
type UnsafeIpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeIpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to IpcServiceServer will result in compilation errors.