refactor: agentic comment cleanup
This commit is contained in:
@@ -8,10 +8,9 @@ import (
|
||||
|
||||
//go:generate go tool mockgen -source ./membershippublisher.go -destination ./mocks/membershippublisher.go
|
||||
|
||||
// MembershipPublisher publishes network membership changes to the live store
|
||||
// (Firestore) that clients subscribe to. Postgres remains the source of truth;
|
||||
// the membership reconciler heals any drift, so callers may log and ignore
|
||||
// publish failures.
|
||||
// MembershipPublisher fans network membership changes out to Firestore.
|
||||
// Postgres is the source of truth; the reconciler heals drift, so publish
|
||||
// failures are safe to log and ignore.
|
||||
type MembershipPublisher interface {
|
||||
Add(ctx context.Context, humanId, networkID string) error
|
||||
Remove(ctx context.Context, humanId, networkID string) error
|
||||
|
||||
Reference in New Issue
Block a user