Documentation
¶
Index ¶
- Variables
- type A
- type Follows
- func (f *Follows) AddFollow(pub []byte)
- func (f *Follows) Configure(cfg ...any) (err error)
- func (f *Follows) GetACLInfo() (name, description, documentation string)
- func (f *Follows) GetAccessLevel(pub []byte, address string) (level string)
- func (f *Follows) GetFollowedPubkeys() [][]byte
- func (f *Follows) Syncer()
- func (f *Follows) Type() string
- type None
- func (n None) CheckPolicy(ev *event.E) (allowed bool, err error)
- func (n *None) Configure(cfg ...any) (err error)
- func (n None) GetACLInfo() (name, description, documentation string)
- func (n *None) GetAccessLevel(pub []byte, address string) (level string)
- func (n None) Syncer()
- func (n None) Type() string
- type S
Constants ¶
This section is empty.
Variables ¶
View Source
var Registry = &S{}
Functions ¶
This section is empty.
Types ¶
type Follows ¶
func (*Follows) AddFollow ¶ added in v0.8.0
AddFollow appends a pubkey to the in-memory follows list if not already present and signals the syncer to refresh subscriptions.
func (*Follows) GetACLInfo ¶
func (*Follows) GetAccessLevel ¶
func (*Follows) GetFollowedPubkeys ¶ added in v0.6.0
GetFollowedPubkeys returns a copy of the followed pubkeys list
type None ¶
type None struct {
// contains filtered or unexported fields
}
func (None) CheckPolicy ¶ added in v0.16.0
func (*None) GetAccessLevel ¶
Source Files
¶
- acl.go
- follows.go
- none.go
Click to show internal directories.
Click to hide internal directories.