Documentation ¶
Index ¶
- Variables
- func RegisterPluginInitializerServer(s grpc.ServiceRegistrar, srv PluginInitializerServer)
- type PluginInitialization
- type PluginInitialization_Request
- func (*PluginInitialization_Request) Descriptor() ([]byte, []int)deprecated
- func (x *PluginInitialization_Request) GetHostIdentity() string
- func (x *PluginInitialization_Request) GetRawConfiguration() []byte
- func (*PluginInitialization_Request) ProtoMessage()
- func (x *PluginInitialization_Request) ProtoReflect() protoreflect.Message
- func (x *PluginInitialization_Request) Reset()
- func (x *PluginInitialization_Request) String() string
- type PluginInitialization_Response
- func (*PluginInitialization_Response) Descriptor() ([]byte, []int)deprecated
- func (*PluginInitialization_Response) ProtoMessage()
- func (x *PluginInitialization_Response) ProtoReflect() protoreflect.Message
- func (x *PluginInitialization_Response) Reset()
- func (x *PluginInitialization_Response) String() string
- type PluginInitializerClient
- type PluginInitializerServer
- type UnimplementedPluginInitializerServer
- type UnsafePluginInitializerServer
Constants ¶
This section is empty.
Variables ¶
var File_init_proto protoreflect.FileDescriptor
var PluginInitializer_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto_common.PluginInitializer", HandlerType: (*PluginInitializerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Init", Handler: _PluginInitializer_Init_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "init.proto", }
PluginInitializer_ServiceDesc is the grpc.ServiceDesc for PluginInitializer service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPluginInitializerServer ¶
func RegisterPluginInitializerServer(s grpc.ServiceRegistrar, srv PluginInitializerServer)
Types ¶
type PluginInitialization ¶
type PluginInitialization struct {
// contains filtered or unexported fields
}
* A wrapper message to logically group other messages
func (*PluginInitialization) Descriptor
deprecated
func (*PluginInitialization) Descriptor() ([]byte, []int)
Deprecated: Use PluginInitialization.ProtoReflect.Descriptor instead.
func (*PluginInitialization) ProtoMessage ¶
func (*PluginInitialization) ProtoMessage()
func (*PluginInitialization) ProtoReflect ¶
func (x *PluginInitialization) ProtoReflect() protoreflect.Message
func (*PluginInitialization) Reset ¶
func (x *PluginInitialization) Reset()
func (*PluginInitialization) String ¶
func (x *PluginInitialization) String() string
type PluginInitialization_Request ¶
type PluginInitialization_Request struct { // `geth` node identity HostIdentity string `protobuf:"bytes,1,opt,name=hostIdentity,proto3" json:"hostIdentity,omitempty"` // Raw configuration to be processed by the plugin RawConfiguration []byte `protobuf:"bytes,2,opt,name=rawConfiguration,proto3" json:"rawConfiguration,omitempty"` // contains filtered or unexported fields }
Initialization data for the plugin
func (*PluginInitialization_Request) Descriptor
deprecated
func (*PluginInitialization_Request) Descriptor() ([]byte, []int)
Deprecated: Use PluginInitialization_Request.ProtoReflect.Descriptor instead.
func (*PluginInitialization_Request) GetHostIdentity ¶
func (x *PluginInitialization_Request) GetHostIdentity() string
func (*PluginInitialization_Request) GetRawConfiguration ¶
func (x *PluginInitialization_Request) GetRawConfiguration() []byte
func (*PluginInitialization_Request) ProtoMessage ¶
func (*PluginInitialization_Request) ProtoMessage()
func (*PluginInitialization_Request) ProtoReflect ¶
func (x *PluginInitialization_Request) ProtoReflect() protoreflect.Message
func (*PluginInitialization_Request) Reset ¶
func (x *PluginInitialization_Request) Reset()
func (*PluginInitialization_Request) String ¶
func (x *PluginInitialization_Request) String() string
type PluginInitialization_Response ¶
type PluginInitialization_Response struct {
// contains filtered or unexported fields
}
func (*PluginInitialization_Response) Descriptor
deprecated
func (*PluginInitialization_Response) Descriptor() ([]byte, []int)
Deprecated: Use PluginInitialization_Response.ProtoReflect.Descriptor instead.
func (*PluginInitialization_Response) ProtoMessage ¶
func (*PluginInitialization_Response) ProtoMessage()
func (*PluginInitialization_Response) ProtoReflect ¶
func (x *PluginInitialization_Response) ProtoReflect() protoreflect.Message
func (*PluginInitialization_Response) Reset ¶
func (x *PluginInitialization_Response) Reset()
func (*PluginInitialization_Response) String ¶
func (x *PluginInitialization_Response) String() string
type PluginInitializerClient ¶
type PluginInitializerClient interface {
Init(ctx context.Context, in *PluginInitialization_Request, opts ...grpc.CallOption) (*PluginInitialization_Response, error)
}
PluginInitializerClient is the client API for PluginInitializer 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 NewPluginInitializerClient ¶
func NewPluginInitializerClient(cc grpc.ClientConnInterface) PluginInitializerClient
type PluginInitializerServer ¶
type PluginInitializerServer interface { Init(context.Context, *PluginInitialization_Request) (*PluginInitialization_Response, error) // contains filtered or unexported methods }
PluginInitializerServer is the server API for PluginInitializer service. All implementations must embed UnimplementedPluginInitializerServer for forward compatibility
type UnimplementedPluginInitializerServer ¶
type UnimplementedPluginInitializerServer struct { }
UnimplementedPluginInitializerServer must be embedded to have forward compatible implementations.
type UnsafePluginInitializerServer ¶
type UnsafePluginInitializerServer interface {
// contains filtered or unexported methods
}
UnsafePluginInitializerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PluginInitializerServer will result in compilation errors.