Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExampleConfig ¶
Types ¶
type Service ¶
type Service interface {
RegisterRepo(context.Context, string, string) (domain.Repo, error)
ListRepos(context.Context) ([]domain.Repo, error)
GetRepo(context.Context, string) (domain.Repo, error)
SyncRepo(context.Context, string) (domain.Repo, error)
RemoveRepo(context.Context, string) error
Context(context.Context, app.ContextRequest) (app.ContextResponse, error)
CreateAnchor(context.Context, app.CreateAnchorInput) (domain.Anchor, error)
UpdateAnchor(context.Context, app.UpdateAnchorInput) (domain.Anchor, error)
CloseAnchor(context.Context, string) (domain.Anchor, error)
ReopenAnchor(context.Context, string) (domain.Anchor, error)
ResolveAnchor(context.Context, string) (domain.Anchor, error)
ListAnchors(context.Context, domain.AnchorFilter) ([]domain.Anchor, error)
GetAnchor(context.Context, string) (domain.Anchor, error)
CreateComment(context.Context, string, string, string, string) (domain.Comment, error)
ListComments(context.Context, string) ([]domain.Comment, error)
FileView(context.Context, string, string, string) (app.FileView, error)
Search(context.Context, domain.SearchQuery) ([]domain.SearchHit, error)
}
Click to show internal directories.
Click to hide internal directories.