Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterSearcherServiceServer(s grpc.ServiceRegistrar, srv SearcherServiceServer)
- type ConnectedLeadersResponse
- func (*ConnectedLeadersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectedLeadersResponse) GetConnectedValidators() map[string]*SlotList
- func (*ConnectedLeadersResponse) ProtoMessage()
- func (x *ConnectedLeadersResponse) ProtoReflect() protoreflect.Message
- func (x *ConnectedLeadersResponse) Reset()
- func (x *ConnectedLeadersResponse) String() string
- type SearcherServiceClient
- type SearcherServiceServer
- type SendBundleRequest
- func (*SendBundleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendBundleRequest) GetBundle() *bundle.Bundle
- func (*SendBundleRequest) ProtoMessage()
- func (x *SendBundleRequest) ProtoReflect() protoreflect.Message
- func (x *SendBundleRequest) Reset()
- func (x *SendBundleRequest) String() string
- type SendBundleResponse
- func (*SendBundleResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendBundleResponse) GetUuid() string
- func (*SendBundleResponse) ProtoMessage()
- func (x *SendBundleResponse) ProtoReflect() protoreflect.Message
- func (x *SendBundleResponse) Reset()
- func (x *SendBundleResponse) String() string
- type SlotList
- type UnimplementedSearcherServiceServer
- type UnsafeSearcherServiceServer
Constants ¶
const (
SearcherService_SendBundle_FullMethodName = "/searcher.SearcherService/SendBundle"
)
Variables ¶
var File_proto_searcher_searcher_proto protoreflect.FileDescriptor
var SearcherService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "searcher.SearcherService", HandlerType: (*SearcherServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SendBundle", Handler: _SearcherService_SendBundle_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/searcher/searcher.proto", }
SearcherService_ServiceDesc is the grpc.ServiceDesc for SearcherService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSearcherServiceServer ¶
func RegisterSearcherServiceServer(s grpc.ServiceRegistrar, srv SearcherServiceServer)
Types ¶
type ConnectedLeadersResponse ¶
type ConnectedLeadersResponse struct { ConnectedValidators map[string]*SlotList `` /* 192-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ConnectedLeadersResponse) Descriptor
deprecated
func (*ConnectedLeadersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConnectedLeadersResponse.ProtoReflect.Descriptor instead.
func (*ConnectedLeadersResponse) GetConnectedValidators ¶
func (x *ConnectedLeadersResponse) GetConnectedValidators() map[string]*SlotList
func (*ConnectedLeadersResponse) ProtoMessage ¶
func (*ConnectedLeadersResponse) ProtoMessage()
func (*ConnectedLeadersResponse) ProtoReflect ¶
func (x *ConnectedLeadersResponse) ProtoReflect() protoreflect.Message
func (*ConnectedLeadersResponse) Reset ¶
func (x *ConnectedLeadersResponse) Reset()
func (*ConnectedLeadersResponse) String ¶
func (x *ConnectedLeadersResponse) String() string
type SearcherServiceClient ¶
type SearcherServiceClient interface {
SendBundle(ctx context.Context, in *SendBundleRequest, opts ...grpc.CallOption) (*SendBundleResponse, error)
}
SearcherServiceClient is the client API for SearcherService 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 NewSearcherServiceClient ¶
func NewSearcherServiceClient(cc grpc.ClientConnInterface) SearcherServiceClient
type SearcherServiceServer ¶
type SearcherServiceServer interface { SendBundle(context.Context, *SendBundleRequest) (*SendBundleResponse, error) // contains filtered or unexported methods }
SearcherServiceServer is the server API for SearcherService service. All implementations must embed UnimplementedSearcherServiceServer for forward compatibility.
type SendBundleRequest ¶
type SendBundleRequest struct { Bundle *bundle.Bundle `protobuf:"bytes,1,opt,name=bundle,proto3" json:"bundle,omitempty"` // contains filtered or unexported fields }
func (*SendBundleRequest) Descriptor
deprecated
func (*SendBundleRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendBundleRequest.ProtoReflect.Descriptor instead.
func (*SendBundleRequest) GetBundle ¶
func (x *SendBundleRequest) GetBundle() *bundle.Bundle
func (*SendBundleRequest) ProtoMessage ¶
func (*SendBundleRequest) ProtoMessage()
func (*SendBundleRequest) ProtoReflect ¶
func (x *SendBundleRequest) ProtoReflect() protoreflect.Message
func (*SendBundleRequest) Reset ¶
func (x *SendBundleRequest) Reset()
func (*SendBundleRequest) String ¶
func (x *SendBundleRequest) String() string
type SendBundleResponse ¶
type SendBundleResponse struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // contains filtered or unexported fields }
func (*SendBundleResponse) Descriptor
deprecated
func (*SendBundleResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendBundleResponse.ProtoReflect.Descriptor instead.
func (*SendBundleResponse) GetUuid ¶
func (x *SendBundleResponse) GetUuid() string
func (*SendBundleResponse) ProtoMessage ¶
func (*SendBundleResponse) ProtoMessage()
func (*SendBundleResponse) ProtoReflect ¶
func (x *SendBundleResponse) ProtoReflect() protoreflect.Message
func (*SendBundleResponse) Reset ¶
func (x *SendBundleResponse) Reset()
func (*SendBundleResponse) String ¶
func (x *SendBundleResponse) String() string
type SlotList ¶
type SlotList struct { Slots []uint64 `protobuf:"varint,1,rep,packed,name=slots,proto3" json:"slots,omitempty"` // contains filtered or unexported fields }
func (*SlotList) Descriptor
deprecated
func (*SlotList) ProtoMessage ¶
func (*SlotList) ProtoMessage()
func (*SlotList) ProtoReflect ¶
func (x *SlotList) ProtoReflect() protoreflect.Message
type UnimplementedSearcherServiceServer ¶
type UnimplementedSearcherServiceServer struct{}
UnimplementedSearcherServiceServer 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 (UnimplementedSearcherServiceServer) SendBundle ¶
func (UnimplementedSearcherServiceServer) SendBundle(context.Context, *SendBundleRequest) (*SendBundleResponse, error)
type UnsafeSearcherServiceServer ¶
type UnsafeSearcherServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSearcherServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SearcherServiceServer will result in compilation errors.