Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrInvalidHook = errors.New("invalid remote hook data")
)
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface {
Create(ctx context.Context, hook *runtimetypes.RemoteHook) error
Get(ctx context.Context, id string) (*runtimetypes.RemoteHook, error)
GetByName(ctx context.Context, name string) (*runtimetypes.RemoteHook, error)
Update(ctx context.Context, hook *runtimetypes.RemoteHook) error
Delete(ctx context.Context, id string) error
List(ctx context.Context, createdAtCursor *time.Time, limit int) ([]*runtimetypes.RemoteHook, error)
}
func WithActivityTracker ¶
func WithActivityTracker(service Service, tracker activitytracker.ActivityTracker) Service
Click to show internal directories.
Click to hide internal directories.