Documentation
¶
Index ¶
- type Store
- func (s *Store) ApplyResolution(ctx context.Context, anchorID string, binding domain.Binding, ...) (domain.Anchor, error)
- func (s *Store) Close() error
- func (s *Store) CreateAnchor(ctx context.Context, anchor domain.Anchor) (domain.Anchor, error)
- func (s *Store) CreateComment(ctx context.Context, comment domain.Comment) (domain.Comment, error)
- func (s *Store) CreateRepo(ctx context.Context, repo domain.Repo) (domain.Repo, error)
- func (s *Store) DeleteRepo(ctx context.Context, id string) error
- func (s *Store) GetAnchor(ctx context.Context, id string) (domain.Anchor, error)
- func (s *Store) GetRepo(ctx context.Context, id string) (domain.Repo, error)
- func (s *Store) ListAnchorEvents(ctx context.Context, anchorID string) ([]domain.AnchorEvent, error)
- func (s *Store) ListAnchors(ctx context.Context, filter domain.AnchorFilter) ([]domain.Anchor, error)
- func (s *Store) ListComments(ctx context.Context, anchorID string) ([]domain.Comment, error)
- func (s *Store) ListRepos(ctx context.Context) ([]domain.Repo, error)
- func (s *Store) ReplaceBinding(ctx context.Context, anchorID string, binding domain.Binding, reason string, ...) (domain.Anchor, error)
- func (s *Store) Search(ctx context.Context, query domain.SearchQuery) ([]domain.SearchHit, error)
- func (s *Store) UpdateAnchor(ctx context.Context, anchor domain.Anchor, reason string) (domain.Anchor, error)
- func (s *Store) UpdateRepo(ctx context.Context, repo domain.Repo) (domain.Repo, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) ApplyResolution ¶
func (*Store) CreateAnchor ¶
func (*Store) CreateComment ¶
func (*Store) CreateRepo ¶
func (*Store) ListAnchorEvents ¶
func (*Store) ListAnchors ¶
func (*Store) ListComments ¶
func (*Store) ReplaceBinding ¶
func (*Store) UpdateAnchor ¶
Click to show internal directories.
Click to hide internal directories.