Documentation ¶
Overview ¶
Package grpc provides a Pydio GRPC service for querying the logs
Index ¶
- type Handler
- func (h *Handler) AggregatedLogs(ctx context.Context, req *proto.TimeRangeRequest, ...) error
- func (h *Handler) DeleteLogs(ctx context.Context, req *proto.ListLogRequest, resp *proto.DeleteLogsResponse) error
- func (h *Handler) ListLogs(ctx context.Context, req *proto.ListLogRequest, ...) error
- func (h *Handler) PutLog(ctx context.Context, stream proto.LogRecorder_PutLogStream) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
Repo log.MessageRepository
}
Handler is the gRPC interface for the log service.
func (*Handler) AggregatedLogs ¶
func (h *Handler) AggregatedLogs(ctx context.Context, req *proto.TimeRangeRequest, stream proto.LogRecorder_AggregatedLogsStream) error
AggregatedLogs retrieves aggregated figures from the indexer to generate charts and reports.
func (*Handler) DeleteLogs ¶ added in v1.4.0
func (h *Handler) DeleteLogs(ctx context.Context, req *proto.ListLogRequest, resp *proto.DeleteLogsResponse) error
func (*Handler) ListLogs ¶
func (h *Handler) ListLogs(ctx context.Context, req *proto.ListLogRequest, stream proto.LogRecorder_ListLogsStream) error
ListLogs is a simple gateway from protobuf to the indexer search engine.
Click to show internal directories.
Click to hide internal directories.