|
|
|
internal/records/community_reader.go raw
| 1 | package records | | 2 | | | 3 | import "context" | | 4 | | | 5 | // members is the sole records-side entry point for community membership data. | | 6 | func (s *Service) members(ctx context.Context) ([]Member, error) { | | 7 | return s.community.Members(ctx) | | 8 | } | | 9 | | | 10 | func (s *Service) memberStatus(ctx context.Context, pubkey string) (bool, int, error) { | | 11 | return s.community.MemberStatus(ctx, pubkey) | | 12 | } | | 13 | | | 14 | func (s *Service) moderationCounts(ctx context.Context, start int64) (ModerationCounts, error) { | | 15 | return s.community.ModerationCounts(ctx, start) | | 16 | } |
|
|
About| owner | c01503e8035f |
|---|
| visibility | public |
|---|
| head | d730679639bf |
|---|
Maintainers- c01503e8035f owner
- ba1b5beed5b5 agent hermes
Clonehttps://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git
|