Documentation ¶
Index ¶
- type Directory
- func (d *Directory) Start()
- func (d *Directory) ValidateHandle(ctx context.Context, client *http.Client, did string, handle string) (bool, []error)
- func (d *Directory) ValidateHandlePage(ctx context.Context, pageSize int) bool
- func (d *Directory) ValidateHandles(ctx context.Context, pageSize int, timeBetweenLoops time.Duration)
- type DirectoryEntry
- type DirectoryJSONLRow
- type Operation
- type RawDirectoryEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Directory ¶
type Directory struct { Endpoint string PLCRateLimiter *rate.Limiter PDSRateLimiter *rate.Limiter CheckPeriod time.Duration AfterCursor time.Time Logger *zap.SugaredLogger ValidationTTL time.Duration RedisClient *redis.Client RedisPrefix string Store *store.Store }
func NewDirectory ¶
func (*Directory) ValidateHandle ¶
func (*Directory) ValidateHandlePage ¶
type DirectoryEntry ¶
type DirectoryJSONLRow ¶
type RawDirectoryEntry ¶
type RawDirectoryEntry struct {
JSON json.RawMessage
}
Click to show internal directories.
Click to hide internal directories.