Documentation ¶
Index ¶
- Variables
- func IsDID(handleOrDid string) bool
- type Entry
- type Store
- func (s *Store) BulkLookupByDid(ctx context.Context, dids []string) ([]*Entry, error)
- func (s *Store) BulkLookupByHandle(ctx context.Context, handles []string) ([]*Entry, error)
- func (s *Store) BulkUpdateEntryValidation(ctx context.Context, entries []*Entry) error
- func (s *Store) Delete(ctx context.Context, did string) error
- func (s *Store) Lookup(ctx context.Context, handleOrDid string) (*Entry, error)
- func (s *Store) Update(ctx context.Context, entry *Entry) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = errors.New("bingo: not found")
Functions ¶
Types ¶
type Store ¶
type Store struct { RedisPrefix string Redis *redis.Client DB *sql.DB Queries *store_queries.Queries }
func (*Store) BulkLookupByDid ¶
func (*Store) BulkLookupByHandle ¶
func (*Store) BulkUpdateEntryValidation ¶
Click to show internal directories.
Click to hide internal directories.