Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type OnProjectCloseFn ¶
type OnProjectOpenFn ¶
type Repository ¶
type Service ¶
type Service interface { CreateProject(ctx context.Context, name string) (Project, error) OpenProject(ctx context.Context, projectID ulid.ULID) (Project, error) CloseProject() error DeleteProject(ctx context.Context, projectID ulid.ULID) error ActiveProject(ctx context.Context) (Project, error) IsProjectActive(projectID ulid.ULID) bool Projects(ctx context.Context) ([]Project, error) Scope() *scope.Scope SetScopeRules(ctx context.Context, rules []scope.Rule) error SetRequestLogFindFilter(ctx context.Context, filter reqlog.FindRequestsFilter) error SetSenderRequestFindFilter(ctx context.Context, filter sender.FindRequestsFilter) error OnProjectOpen(fn OnProjectOpenFn) OnProjectClose(fn OnProjectCloseFn) }
Service is used for managing projects.
Click to show internal directories.
Click to hide internal directories.