Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { RejectEmptyHeaderUserAgent(r *http.Request) bool RejectEmptyFilters(filter *nostr.Filter) (reject bool, msg string) RejectEventWithCharacter(c *cctx.Context, evt *nostr.Event) (bool, string) RejectValidateEvent(c *cctx.Context, evt *nostr.Event) (bool, string) RejectValidatePow(c *cctx.Context, evt *nostr.Event) (bool, string) RejectValidateTimeStamp(c *cctx.Context, evt *nostr.Event) (bool, string) RejectEventFromPubkeyWithBlacklist(c *cctx.Context, evt *nostr.Event) (bool, string) StoreBlacklistWithContent(c *cctx.Context, evt *nostr.Event) error }
Service service interface
func NewService ¶
func NewService() Service
Click to show internal directories.
Click to hide internal directories.