Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommonClient ¶
type CommonClient struct {
Client pbsearch.RouterClient
}
func NewCommonClient ¶
func NewCommonClient(cc *grpc.ClientConn) *CommonClient
func (*CommonClient) HammerToConsumer ¶
func (c *CommonClient) HammerToConsumer(ctx context.Context, hammer *dhammer.Hammer, onItem onHammerItem, onError onHammerError)
func (*CommonClient) StreamSearchToHammer ¶
func (c *CommonClient) StreamSearchToHammer(ctx context.Context, hammer *dhammer.Hammer, req *pbsearch.RouterRequest)
type MatchOrError ¶
type MatchOrError struct { Match *pbsearch.SearchMatch Err error }
Click to show internal directories.
Click to hide internal directories.