Micro-service for file storage and processing written in Go
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
281 B

  1. package pipelines
  2. type IExecutableStep interface {
  3. Execute()
  4. }
  5. // Resize image
  6. type ResizeImageStep struct {
  7. Step
  8. }
  9. func (s ResizeImageStep) Execute() {
  10. // TODO
  11. }
  12. // Compress image
  13. type CompressImageStep struct {
  14. Step
  15. }
  16. func (s CompressImageStep) Execute() {
  17. // TODO
  18. }