package processors import ( "context" ) type IProcessor interface { Process(ctx context.Context, params any) (any, error) } type ISource interface { Process(ctx context.Context) (<-chan any, error) } type ISink interface { Process(ctx context.Context, params any) error }