~bigbes/lethe

ref: 8383c20c8ccfc2f64ad0987140d6536ccaf8d7ff lethe/internal/domain/session/handler.go -rw-r--r-- 691 bytes
8383c20c — Eugene Blikh feat(ingest): NDJSON ingest with chunked transactions and partial-accept a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Phase-5 stub. Replaced by real implementation in Phase 8.
//
// Mount is a no-op so the /api/v1 group registers no session routes yet;
// Server.Init still wires it in so the full router topology compiles.
package session

import (
	"context"

	"github.com/go-chi/chi/v5"
)

// Handler is a no-op steward service. Phase 8 supplies the real session
// read API.
type Handler struct{}

// Init satisfies the steward Service contract.
func (h *Handler) Init(_ context.Context) error { return nil }

// Mount registers no routes. Phase 8 replaces this with the sessions list /
// detail endpoints rooted at the /api/v1 group passed in by Server.Init.
func (h *Handler) Mount(_ chi.Router) {}