Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository interface {
Create(ctx context.Context, log *TaskLog) error
List(ctx context.Context, taskID string, taskIDs []string, limit, offset int) ([]*TaskLog, int, error)
// DeleteByTaskID removes all task logs belonging to the given task.
DeleteByTaskID(ctx context.Context, taskID string) (int, error)
}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(repo Repository, taskRepo task.Repository) *Server
func (*Server) ListTaskLogs ¶
func (s *Server) ListTaskLogs(ctx context.Context, req *connect.Request[taskguildv1.ListTaskLogsRequest]) (*connect.Response[taskguildv1.ListTaskLogsResponse], error)
Click to show internal directories.
Click to hide internal directories.