Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupServer ¶
type LookupServer struct { Lookuper Lookuper RevCache revcache.RevCache // Requests aggregates all the incoming requests received by the handler. // If it is not initialized, nothing is reported. Requests metrics.Counter // SegmentsSent aggregates the number of segments that were transmitted in // response to a segment request. SegmentsSent metrics.Counter }
LookupServer handles path segment lookups.
func (LookupServer) Segments ¶
func (s LookupServer) Segments(ctx context.Context, req *cppb.SegmentsRequest) (*cppb.SegmentsResponse, error)
Click to show internal directories.
Click to hide internal directories.