Documentation ¶
Index ¶
- type GRPCHandler
- func (g GRPCHandler) GetShardOwner(ctx context.Context, request *sharddistributorv1.GetShardOwnerRequest) (*sharddistributorv1.GetShardOwnerResponse, error)
- func (g GRPCHandler) Health(ctx context.Context, _ *apiv1.HealthRequest) (*apiv1.HealthResponse, error)
- func (g GRPCHandler) Register(dispatcher *yarpc.Dispatcher)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GRPCHandler ¶
type GRPCHandler struct {
// contains filtered or unexported fields
}
func NewGRPCHandler ¶
func NewGRPCHandler(h handler.Handler) GRPCHandler
func (GRPCHandler) GetShardOwner ¶
func (g GRPCHandler) GetShardOwner(ctx context.Context, request *sharddistributorv1.GetShardOwnerRequest) (*sharddistributorv1.GetShardOwnerResponse, error)
func (GRPCHandler) Health ¶
func (g GRPCHandler) Health(ctx context.Context, _ *apiv1.HealthRequest) (*apiv1.HealthResponse, error)
func (GRPCHandler) Register ¶
func (g GRPCHandler) Register(dispatcher *yarpc.Dispatcher)
Click to show internal directories.
Click to hide internal directories.