searcher

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SearcherService_SendBundle_FullMethodName = "/searcher.SearcherService/SendBundle"
)

Variables

View Source
var File_proto_searcher_searcher_proto protoreflect.FileDescriptor
View Source
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.

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) Descriptor() ([]byte, []int)

Deprecated: Use SlotList.ProtoReflect.Descriptor instead.

func (*SlotList) GetSlots

func (x *SlotList) GetSlots() []uint64

func (*SlotList) ProtoMessage

func (*SlotList) ProtoMessage()

func (*SlotList) ProtoReflect

func (x *SlotList) ProtoReflect() protoreflect.Message

func (*SlotList) Reset

func (x *SlotList) Reset()

func (*SlotList) String

func (x *SlotList) String() string

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL