Documentation ¶
Overview ¶
Package directory reads and writes Key Transparency Directory information.
Index ¶
- type Table
- func (t *Table) Delete(ctx context.Context, directoryID string) error
- func (t *Table) List(ctx context.Context, deleted bool) ([]*directory.Directory, error)
- func (t *Table) Read(ctx context.Context, directoryID string, showDeleted bool) (*directory.Directory, error)
- func (t *Table) SetDelete(ctx context.Context, directoryID string, isDeleted bool) error
- func (t *Table) Write(ctx context.Context, dir *directory.Directory) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
Table gives access to the directory table.
func (*Table) Read ¶
func (t *Table) Read(ctx context.Context, directoryID string, showDeleted bool) (*directory.Directory, error)
Read retrieves a directory from storage. Returns status.NotFound if the row is deleted.
Click to show internal directories.
Click to hide internal directories.