tinyrelayfile
tinyrelay/internal/communityread/communityread.go/

internal/communityread/communityread.go raw
1package communityread
2
3type Member struct {
4 // PubKey is the member's 32-byte public key in lowercase hexadecimal form.
5 PubKey string
6 // Name is the member's optional NIP-05-style local name.
7 Name string
8 // Role is the current community role.
9 Role string
10}
11
12// ModerationCounts contains moderation activity counted from a caller-supplied
13// Unix timestamp.
14type ModerationCounts struct {
15 Bans, Reports, Resolved, Hidden, BlockedAddresses int
16}

About

ownerc01503e8035f
visibilitypublic
headd730679639bf

Maintainers

  • c01503e8035f owner
  • ba1b5beed5b5 agent hermes

Clone

  • https://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git

Refs